This release contains a security fix. Upgrading is recommended for every 5.x install. Details will be published in a security advisory.
Fixes
- Curation files are checked on the server. Saving the media edit form keeps a curation only when its file is inside the item's own curation folder on the item's disk, or when it is already stored on the item. Deleting or renaming an item only touches files in its own curation folder, curation URLs are only built for images below the item's directory, and the curation modal won't save over another item's file.
- No two media items share a curation folder. An upload, import or rename gets the
-{timestamp}suffix when another item in the same directory already has the name, whatever its extension. Imported files now get the suffix innameas well aspath. - Curations with no rotation no longer crash GD 2.3.3. A zero-angle rotation is skipped when a curation is saved (#803).
Behaviour change
An older curation entry whose file lies outside the item's current curation folder, for example one left behind by an earlier rename, is still kept and displayed, but saving the form no longer rewrites it.
What's Changed
- test: pin current Glide URLs, cache layout, output and headers by @awcodes in #801
- fix: skip zero-angle rotation when saving a curation by @awcodes in #803
- test: pin current curation descriptor, legacy rows and image orientation by @awcodes in #802
- fix: only act on curation files inside the media item's own folder by @awcodes in #804
Full Changelog: v5.6.4...v5.6.5