ORIENT/tests/fixtures
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 fix tests, not required since decompileAssets() supports even invalid assets now 2020-06-05 15:59:20 -06:00
cms/reference Code formatting changes (#3363) 2018-03-22 10:55:13 -06:00
config Allow quotes to be correctly handled by october:env (#4986) 2020-03-26 23:40:01 +08:00
media Get file and folder metadata for media items using a single network call if possible (#5046) 2020-05-26 03:20:41 -06:00
plugins Add simple unit tests for HasOneThrough and HasManyThrough relations 2020-01-22 18:16:36 +08:00
themes Fix path validation for CmsObjects & Assets (#5229) 2020-08-05 12:00:22 -06:00