- Security: Fix the
filesystemloader accepting images from a sibling directory whose name starts with the name of a data root (e.g.public_oldnext topublic). - Security: Reject paths with
..segments inCacheManager::isStored(),store()andremove(), not only inresolve(). Previously, the filtered image was written to the cache beforeresolve()rejected the path, which allowed writing outside of the filter cache directory. - Security: Fix the
filesystem_insecurelocator not detecting../on Windows, where it only checked for..\. - Security: Reject
..segments in theimageoption of thewatermarkandpastefilters. An image outside of the project directory can no longer be loaded, e.g. with a signed runtime filter configuration. - Security: Reject
..segments in thestreamloader, and paths that would change the host of the wrapper, e.g.@attacker.example/image.jpgwith the wrapperhttps://images.example.comwithout a trailing slash. - Security: Compare the signature of runtime filter URLs in constant time with
hash_equals(). - Add a
format_extensionresolver configuration, so theFormatExtensionResolvercan decorate a configured resolver without declaring a service (Amoifr) - Add the
normalize_filter_set_namesoption to allow-in filter set names, and deprecate the normalization of-to_(Amoifr)