ORIENT/modules
Ben Thomson 50e61df10e
Fix path validation for CmsObjects & Assets (#5229)
Instead of using a temporary file to allow checks with `realpath()` to succeed, use the new `resolve_path()` helper added in a9a629b012 to replace the `realpath()` usage and allow for path resolution of files that don't exist yet.

This will allow new asset files to still be saved correctly, whilst still preventing paths outside of the assets directory to be used.

Replaces b1954e9258.
2020-08-05 12:00:22 -06:00
..
backend Merge branch 'develop' into wip/laravel-6 2020-08-03 01:49:06 -06:00
cms Fix path validation for CmsObjects & Assets (#5229) 2020-08-05 12:00:22 -06:00
system Merge branch 'develop' into wip/laravel-6 2020-08-03 01:49:06 -06:00