ORIENT/modules/cms/classes
Samuel Georges 7902cfa58a Simplify security check
Logic in ComponentPartial was rolled back and moved to the Controller. Since there are issues with throwing exceptions inside the component partial lookup logic (exceptions are conditionally suppressed), it seems like it would be better to bubble up the security logic to the controller level as a simple base dir security check, which is no longer concerned about any suppression logic. This looks to have logic parity with the previous solution

Refs #4652
2019-12-14 12:37:44 +11:00
..
asset Use tabs cssClass definition instead of JS 2017-06-05 17:33:37 +10:00
content Use tabs cssClass definition instead of JS 2017-06-05 17:33:37 +10:00
layout Make CMS object code editor read-only in safe mode (#4769) 2019-12-09 21:05:50 +08:00
page Make CMS object code editor read-only in safe mode (#4769) 2019-12-09 21:05:50 +08:00
partial Make CMS object code editor read-only in safe mode (#4769) 2019-12-09 21:05:50 +08:00
theme Revise #2426 - Rename preview to previewImage 2017-01-29 09:13:01 +11:00
Asset.php Code quality clean up (#4449) 2019-07-18 08:50:37 -06:00
AutoDatasource.php Fix minor spelling errors and inconsistencies (#4543) 2019-08-15 11:39:26 +08:00
CmsCompoundObject.php Make CMS object code editor read-only in safe mode (#4769) 2019-12-09 21:05:50 +08:00
CmsController.php >= PHP7.0 refactoring (#3343) 2018-01-12 00:23:20 -06:00
CmsException.php Replace deprecated Twig class references, refs: #4209. 2019-03-27 13:15:17 -06:00
CmsObject.php Minor Formatting Corrections in Usage Comments (#4541) 2019-08-15 09:14:54 -06:00
CmsObjectCollection.php Code quality clean up (#4449) 2019-07-18 08:50:37 -06:00
CodeBase.php Update __isset function to comply with the same checks as __get (#4514) 2019-08-04 19:56:15 +08:00
CodeParser.php Replace deprecated Twig class references, refs: #4209. 2019-03-27 13:15:17 -06:00
ComponentBase.php Minor Formatting Corrections in Usage Comments (#4541) 2019-08-15 09:14:54 -06:00
ComponentHelpers.php Code quality clean up (#4449) 2019-07-18 08:50:37 -06:00
ComponentManager.php Minor Formatting Corrections in Usage Comments (#4541) 2019-08-15 09:14:54 -06:00
ComponentPartial.php Simplify security check 2019-12-14 12:37:44 +11:00
Content.php Code quality clean up (#4449) 2019-07-18 08:50:37 -06:00
Controller.php Simplify security check 2019-12-14 12:37:44 +11:00
Layout.php Remove stub method 2018-10-01 10:29:03 +10:00
LayoutCode.php Code dusting (#2826) 2017-04-24 21:38:19 +10:00
MediaLibrary.php Code formatting changes (#3363) 2018-03-22 10:55:13 -06:00
MediaLibraryItem.php >= PHP7.0 refactoring (#3343) 2018-01-12 00:23:20 -06:00
MediaViewHelper.php Code quality clean up (#4449) 2019-07-18 08:50:37 -06:00
Meta.php Fix menus not being displayed with database templates (#4362) 2019-06-06 21:05:38 +08:00
ObjectMemoryCache.php Updating modules/cms/classes 2014-10-11 01:22:03 +02:00
Page.php Remove stub method 2018-10-01 10:29:03 +10:00
PageCode.php Updating modules/cms/classes 2014-10-11 01:22:03 +02:00
Partial.php >= PHP7.0 refactoring (#3343) 2018-01-12 00:23:20 -06:00
PartialCode.php Added support for components in partials 2014-10-29 22:12:42 -07:00
PartialStack.php Remove "null" assignments 2018-08-15 18:33:24 +02:00
Router.php Allow for URL parameter to be zero (#4657) 2019-10-08 09:04:52 +08:00
Theme.php Optimize theme recognition (#3220) 2019-09-25 12:26:54 -06:00
ThemeManager.php Remove theme data on theme deletion (#4529) 2019-08-15 11:41:03 +08:00