[X] I have verified that I am running the latest version of ImageSharp.Web
[X] I have verified if the problem exist in both DEBUG and RELEASE mode
[X] I have searched open and closed issues to ensure it has not already been reported
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.
Prerequisites
DEBUG
andRELEASE
modeImageSharp.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