Closed
Description
Prerequisites
ImageSharp.Web version
2.0.2
Other Six Labors packages and versions
NO
Environment (Operating system, version and so on)
Windows 11
.NET Framework version
net6
Description
In the Middleware there is a check which executes OnBeforeSaveAsync only when there are commands coming from the questing and this causes an issue where the metadata is not removed from images without query string.
Steps to Reproduce
I had a case when I wanted toremove the metadata from all of my images. So I made ImageSharp.Web intercepts all requests and added code in OnBeforeSaveAsync to remove the metadata.
However, in the Middleware there is a check which executes OnBeforeSaveAsync only when there are commands coming from the questing and this causes an issue where the metadata is not removed from images without query string.
Images
No response
Activity