imazen / resizer

The official repository for ImageResizer
http://imageresizing.net/
Other
570 stars 172 forks source link

AzureReader2 won't process image without extension #241

Closed Dundercover closed 4 years ago

Dundercover commented 6 years ago

How to reproduce:

  1. Use AzureReader2 plugin with requireImageExtension="false"
  2. Trigger ImageResizer on an image that does not have an extension and specify some modifiers (like w=200).

Expected:

An image that has been modified according to the specified modifiers

Outcome:

The original file (returned by the web app, not redirected to the original blob)

lilith commented 6 years ago

Can you provide the diagnostics page contents from /resizer.debug

On Mon, Oct 29, 2018, 1:55 PM Dundercover notifications@github.com wrote:

How to reproduce:

  1. Use AzureReader2 plugin with requireImageExtension="false"
  2. Trigger ImageResizer on an image that does not have an extension and specify some modifiers (like w=200).

Expected:

An image that has been modified according to the specified modifiers Outcome:

The original file (returned by the web app, not redirected to the original blob)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/imazen/resizer/issues/241, or mute the thread https://github.com/notifications/unsubscribe-auth/AAGlnydaL-TVFGgdcExCRqdIsqaqD-qGks5up106gaJpZM4YAFB6 .

Dundercover commented 6 years ago
Diagnostics for ImageResizer 4.2.5 9bd2b12e at _ generated 10/29/2018 9:46:01 PM UTC
Please remember to provide this page when contacting support.

---------------------- Licensing ON ----------------------
License status for active features (for Process):
No licenses found

Need to change domains? Get a discounted upgrade to a floating license: https://imageresizing.net/licenses/convert

You are using <licenses licenseError='Watermark'>. If there is a licensing error, an red dot will be drawn on the bottom-right corner of each image. This can be set to 'Exception' instead (valuable if you are storing results).
---------------------- Licensing ON ----------------------

You are using ImageResizer Performance Edition plugins.

0 issues detected:

Configuration:

<resizer>
<plugins>
<add name="DiskCache" />
<add name="AzureReader2" prefix="~/blob" connectionString="[redacted]" requireImageExtension="false" />
</plugins>
</resizer>

Registered plugins:

ImageResizer.Plugins.Basic.DefaultEncoder
ImageResizer.Plugins.Basic.NoCache
ImageResizer.Plugins.Basic.ClientCache
ImageResizer.Plugins.Basic.WebConfigLicenseReader
ImageResizer.Plugins.Basic.Diagnostic
ImageResizer.Plugins.Basic.SizeLimiting
ImageResizer.Plugins.Basic.MvcRoutingShimPlugin
ImageResizer.Plugins.Basic.LicenseDisplay
ImageResizer.Plugins.DiskCache.DiskCache
ImageResizer.Plugins.LicenseVerifier.LicenseEnforcer`1[ImageResizer.Plugins.DiskCache.DiskCache]
ImageResizer.Plugins.AzureReader2.AzureReader2Plugin
ImageResizer.Plugins.LicenseVerifier.LicenseEnforcer`1[ImageResizer.Storage.BlobProviderBase]

Accepted querystring keys:

quality, format, thumbnail, maxwidth, maxheight, width, height, w, h, crop, page, bgcolor, rotate, flip, sourceFlip, sFlip, sRotate, borderWidth, borderColor, paddingWidth, paddingColor, frame, useresizingpipeline, cache, process, margin, dpi, zoom, autorotate

Accepted file extensions:

bmp, gif, exif, png, tif, tiff, tff, jpg, jpeg, jpe, jif, jfif, jfi

Environment information:

Running Microsoft-IIS/10.0 on Microsoft Windows NT 10.0.14393.0 and CLR 4.0.30319.42000
Trust level: Unrestricted
OS bitness: x86 !! Warning, running as 32-bit on a 64-bit OS(AMD64). This will limit ram usage !!
Executing assembly: D:\Windows\SysWOW64\inetsrv\w3wp.exe
IntegratedPipeline: True

Installed HttpModules: 

System.Web.Routing.UrlRoutingModule, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a          (under key UrlRoutingModule-4.0)
System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35          (under key ScriptModule-4.0)
System.Web.Caching.OutputCacheModule, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a          (under key OutputCache)
System.Web.SessionState.SessionStateModule, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a          (under key Session)
System.Web.Security.WindowsAuthenticationModule, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a          (under key WindowsAuthentication)
System.Web.Security.DefaultAuthenticationModule, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a          (under key DefaultAuthentication)
System.Web.Security.RoleManagerModule, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a          (under key RoleManager)
System.Web.Security.UrlAuthorizationModule, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a          (under key UrlAuthorization)
System.Web.Security.FileAuthorizationModule, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a          (under key FileAuthorization)
System.Web.Security.AnonymousIdentificationModule, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a          (under key AnonymousIdentification)
System.Web.Profile.ProfileModule, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a          (under key Profile)
System.Web.UrlMappingsModule, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a          (under key UrlMappingsModule)
System.ServiceModel.Activation.ServiceHttpModule, System.ServiceModel.Activation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35          (under key ServiceModel-4.0)
Elmah.ErrorLogModule, Elmah, Version=1.2.14706.0, Culture=neutral, PublicKeyToken=null          (under key ErrorLog)
Elmah.ErrorMailModule, Elmah, Version=1.2.14706.0, Culture=neutral, PublicKeyToken=null          (under key ErrorMail)
Elmah.ErrorFilterModule, Elmah, Version=1.2.14706.0, Culture=neutral, PublicKeyToken=null          (under key ErrorFilter)
ImageResizer.InterceptModule, ImageResizer, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null          (under key ImageResizingModule)
Microsoft.Owin.Host.SystemWeb.OwinHttpModule, Microsoft.Owin.Host.SystemWeb, Version=3.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35          (under key __DynamicModule_Microsoft.Owin.Host.SystemWeb.OwinHttpModule, Microsoft.Owin.Host.SystemWeb, Version=3.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35_989b2b64-3536-4f88-8791-6eea496b44f7)
SimpleInjector.Integration.Web.SimpleInjectorHttpModule, SimpleInjector.Integration.Web, Version=4.0.12.0, Culture=neutral, PublicKeyToken=984cb50dea722e99          (under key __DynamicModule_SimpleInjector.Integration.Web.SimpleInjectorHttpModule, SimpleInjector.Integration.Web, Version=4.0.12.0, Culture=neutral, PublicKeyToken=984cb50dea722e99_18345db4-7e7d-4e1b-8a89-8e3991ec4b53)
System.Web.WebPages.WebPageHttpModule, System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35          (under key __DynamicModule_System.Web.WebPages.WebPageHttpModule, System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35_f4d6d4d7-3cd4-4f3b-ae52-241b7bb0d163)
System.Web.Optimization.BundleModule, System.Web.Optimization, Version=1.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35          (under key __DynamicModule_System.Web.Optimization.BundleModule, System.Web.Optimization, Version=1.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35_b5ed336a-1a85-46af-bbb9-5cd9a699f867)

Loaded assemblies:

mscorlib                                 File: 4.7.3130.0 (4.0.0.0)      Informational: 4.7.3130.0                     
System.Web                               File: 4.7.2623.0 (4.0.0.0)      Informational: 4.7.2623.0                     
System.Configuration                     File: 4.7.2558.0 (4.0.0.0)      Informational: 4.7.2558.0                     
System                                   File: 4.7.2634.0 (4.0.0.0)      Informational: 4.7.2634.0                     
System.Xml                               File: 4.7.2612.0 (4.0.0.0)      Informational: 4.7.2612.0                     
System.Runtime.Caching                   File: 4.7.2558.0 (4.0.0.0)      Informational: 4.7.2558.0                     
System.Core                              File: 4.7.2670.0 (4.0.0.0)      Informational: 4.7.2670.0                     
Microsoft.Build.Utilities.v4.0           File: 4.7.2558.0 (4.0.0.0)      Informational: 4.7.2558.0                     
System.Web.RegularExpressions            File: 4.7.2558.0 (4.0.0.0)      Informational: 4.7.2558.0                     
System.Drawing                           File: 4.7.2558.0 (4.0.0.0)      Informational: 4.7.2558.0                     
Microsoft.Web.Compilation.Snapshots      File: 1.1.0.0 (1.0.0.0)         Informational:                                
Microsoft.JScript                        File: 14.7.2558.0 (10.0.0.0)    Informational: 14.7.2558.0                    
EnvSettings                              File: 77.0.8598.35 (1.0.0.0)    Informational: 77.0.8598.35 (rd_websites_stable.180830-1021)  
Microsoft.CSharp                         File: 4.7.2558.0 (4.0.0.0)      Informational: 4.7.2558.0                     
System.Data                              File: 4.7.2623.0 (4.0.0.0)      Informational: 4.7.2623.0                     
System.Web.Services                      File: 4.7.2558.0 (4.0.0.0)      Informational: 4.7.2558.0                     
System.EnterpriseServices                File: 4.7.2558.0 (4.0.0.0)      Informational: 4.7.2558.0                     
System.IdentityModel                     File: 4.7.3130.0 (4.0.0.0)      Informational: 4.7.3130.0                     
System.Runtime.Serialization             File: 4.7.3130.0 (4.0.0.0)      Informational: 4.7.3130.0                     
System.ServiceModel                      File: 4.7.3130.0 (4.0.0.0)      Informational: 4.7.3130.0                     
System.ServiceModel.Activation           File: 4.7.2558.0 (4.0.0.0)      Informational: 4.7.2558.0                     
System.ServiceModel.Web                  File: 4.7.2558.0 (4.0.0.0)      Informational: 4.7.2558.0                     
System.Activities                        File: 4.7.3130.0 (4.0.0.0)      Informational: 4.7.3130.0                     
System.ServiceModel.Activities           File: 4.7.2558.0 (4.0.0.0)      Informational: 4.7.2558.0                     
System.WorkflowServices                  File: 4.7.2558.0 (4.0.0.0)      Informational: 4.7.2558.0                     
System.Web.Extensions                    File: 4.7.2623.0 (4.0.0.0)      Informational: 4.7.2623.0                     
System.Data.DataSetExtensions            File: 4.7.2558.0 (4.0.0.0)      Informational: 4.7.2558.0                     
System.Xml.Linq                          File: 4.7.2558.0 (4.0.0.0)      Informational: 4.7.2558.0                     
System.ComponentModel.DataAnnotations    File: 4.7.2558.0 (4.0.0.0)      Informational: 4.7.2558.0                     
System.Web.DynamicData                   File: 4.7.2558.0 (4.0.0.0)      Informational: 4.7.2558.0                     
System.Web.ApplicationServices           File: 4.7.2623.0 (4.0.0.0)      Informational: 4.7.2623.0                     
AngleSharp                               File: 0.9.9 (0.9.9.0)           Informational: 0.9.9                          
Antlr3.Runtime                           File: 3.5.0.2 (3.5.0.2)         Informational:                                
AutoMapper                               File: 6.1.1.0 (6.1.1.0)         Informational: 6.1.1--c51b0e02                
BCrypt.Net                               File: 0.1.0.0 (0.1.5073.29922)  Informational:                                
BouncyCastle.Crypto                      File: 1.8.15362.1 (1.8.1.0)     Informational: 1.8.1                          
DocumentFormat.OpenXml                   File: 2.7.2.0 (2.7.2.0)         Informational: 2.7.2                          
Elmah                                    File: 1.2.14706.0955 (1.2.14706.0) Informational:                                
Elmah.Mvc                                File: 2.1.2 (2.1.2.1389)        Informational: 2.1.2                          
EntityFramework                          File: 6.1.40302.0 (6.0.0.0)     Informational: 6.1.3-40302                    
EntityFramework.SqlServer                File: 6.1.40302.0 (6.0.0.0)     Informational: 6.1.3-40302                    
Facebook                                 File: 7.0.6 (6.0.10.0)          Informational:                                
FluentFTP                                File: 19.2.2.0 (19.2.2.0)       Informational: 19.2.2                         
Hangfire.Core                            File:  (1.6.12.0)               Informational:                                
Hangfire.MemoryStorage                   File: 1.0.0 (1.0.0.0)           Informational:                                
Hangfire.SqlServer                       File:  (1.6.12.0)               Informational:                                
HtmlAgilityPack                          File: 1.5.1 (1.5.1.0)           Informational: 1.5.1                          
ImageResizer                             File: 4.2.5.1116 (4.0.0.0)      Informational: 4.2.5 9bd2b12e                 
ImageResizer.Plugins.AzureReader2        File: 4.2.5.1116 (4.0.0.0)      Informational: 4.2.5 9bd2b12e                 Performance Edition
ImageResizer.Plugins.DiskCache           File: 4.2.5.1116 (4.0.0.0)      Informational: 4.2.5 9bd2b12e                 Performance Edition
ImageResizer.Storage                     File: 4.2.5.1116 (4.0.0.0)      Informational: 4.2.5 9bd2b12e                 Performance Edition
LinqToTwitter.AspNet                     File: 3.2.0 (3.2.0.30483)       Informational:                                
LinqToTwitter.net                        File: 4.0.0.0 (4.0.0.0)         Informational:                                
log4net                                  File: 2.0.8.0 (2.0.8.0)         Informational: 2.0.8.0-.NET 4.5               
Magick.NET-Q8-AnyCPU                     File: 7.0.7.300 (7.0.0.0)       Informational: 7.0.7.300                      
Microsoft.AspNet.Identity.Core           File: 2.2.1.40403.0 (2.0.0.0)   Informational:                                
Microsoft.AspNet.Identity.Owin           File: 2.2.1.40403.0 (2.0.0.0)   Informational:                                
Microsoft.AspNet.SignalR.Core            File: 2.2.60504.1171 (2.2.2.0)  Informational: 2.2.2                          
Microsoft.AspNet.SignalR.SystemWeb       File: 2.2.60504.1171 (2.2.2.0)  Informational: 2.2.2                          
Microsoft.Azure.KeyVault.Core            File: 3.0.0.1 (3.0.0.0)         Informational:                                
Microsoft.Data.Edm                       File: 5.8.1.62767 (5.8.1.0)     Informational: 5.8.1.62767                    
Microsoft.Data.OData                     File: 5.8.1.62767 (5.8.1.0)     Informational: 5.8.1.62767                    
Microsoft.Data.Services.Client           File: 5.8.1.62767 (5.8.1.0)     Informational: 5.8.1.62767                    
Microsoft.Owin                           File: 3.1.60405.82 (3.1.0.0)    Informational: 3.1.0                          
Microsoft.Owin.Host.SystemWeb            File: 3.1.60405.82 (3.1.0.0)    Informational: 3.1.0                          
Microsoft.Owin.Security.Cookies          File: 3.1.60405.82 (3.1.0.0)    Informational: 3.1.0                          
Microsoft.Owin.Security                  File: 3.1.60405.82 (3.1.0.0)    Informational: 3.1.0                          
Microsoft.Owin.Security.Facebook         File: 3.1.60405.82 (3.1.0.0)    Informational: 3.1.0                          
Microsoft.Owin.Security.Google           File: 3.1.60405.82 (3.1.0.0)    Informational: 3.1.0                          
Microsoft.Owin.Security.MicrosoftAccount File: 3.1.60405.82 (3.1.0.0)    Informational: 3.1.0                          
Microsoft.Owin.Security.OAuth            File: 3.1.60405.82 (3.1.0.0)    Informational: 3.1.0                          
Microsoft.Owin.Security.Twitter          File: 3.1.60405.82 (3.1.0.0)    Informational: 3.1.0                          
Microsoft.Web.Infrastructure             File: 1.0.20105.407 (1.0.0.0)   Informational:                                
Microsoft.WindowsAzure.Configuration     File: 3.2.3.0 (3.0.0.0)         Informational:                                
Microsoft.WindowsAzure.Storage           File: 9.3.2.0 (9.3.2.0)         Informational:                                
Newtonsoft.Json                          File: 10.0.3.21018 (10.0.0.0)   Informational: 10.0.3                         
Owin                                     File: 1.0 (1.0.0.0)             Informational:                                
Owin.Security.Providers                  File: 1.23.0.0 (1.23.0.0)       Informational:                                
PreMailer.Net                            File: 1.5.5.0 (1.5.5.0)         Informational:                                
Renci.SshNet                             File: 2016.1.0 (2016.1.0.0)     Informational: 2016.1.0                       
SimpleInjector                           File: 4.0.12.0 (4.0.12.0)       Informational: 4.0.12                         
SimpleInjector.Integration.Web           File: 4.0.12.0 (4.0.12.0)       Informational: 4.0.12                         
SimpleInjector.Integration.Web.Mvc       File: 4.0.12.0 (4.0.12.0)       Informational: 4.0.12                         
SmartFormat                              File:  (2.1.0.2)                Informational:                                                       
System.Data.SqlServerCe                  File: 4.0.8876.1 (4.0.0.0)      Informational: 4.0                            
System.IO.Compression                    File: 4.6.24705.01 (4.1.2.0)    Informational: 4.6.24705.01. Commit Hash: 4d1af962ca0fede10beb01d197367c2f90e92c97  
System.Net.Http                          File: 4.6.25220.01 (4.1.1.1)    Informational: 4.6.25220.01. Commit Hash: 936d52df0532d56a19ff8486bc9aa7eac19860b3  
System.Reactive.Core                     File: 2.2.5.40722 (2.2.5.0)     Informational: 2.2.5                          
System.Reactive.Interfaces               File: 2.2.5.40722 (2.2.5.0)     Informational: 2.2.5                          
System.Reactive.Linq                     File: 2.2.5.40722 (2.2.5.0)     Informational: 2.2.5                          
System.Reactive.PlatformServices         File: 2.2.5.40722 (2.2.5.0)     Informational: 2.2.5                          
System.Security.Cryptography.Algorithms  File: 4.7.2558.0 (4.0.0.0)      Informational: 4.7.2558.0                     
System.Security.Cryptography.Encoding    File: 4.7.2558.0 (4.0.0.0)      Informational: 4.7.2558.0                     
System.Security.Cryptography.Primitives  File: 4.7.2558.0 (4.0.0.0)      Informational: 4.7.2558.0                     
System.Security.Cryptography.X509Certificates File: 4.7.2558.0 (4.0.0.0)      Informational: 4.7.2558.0                     
System.Spatial                           File: 5.8.1.62767 (5.8.1.0)     Informational: 5.8.1.62767                    
System.Web.Helpers                       File: 3.0.30128.0 (3.0.0.0)     Informational: 3.0.3-30128 (0e974218e12a67d4b1f25422119e40cfe6953e46)  
System.Web.Mvc                           File: 5.2.30128.0 (5.2.3.0)     Informational: 5.2.3-30128 (0e974218e12a67d4b1f25422119e40cfe6953e46)  
System.Web.Optimization                  File: 1.1.40211.0 (1.1.0.0)     Informational:                                
System.Web.Razor                         File: 3.0.30128.0 (3.0.0.0)     Informational: 3.0.3-30128 (0e974218e12a67d4b1f25422119e40cfe6953e46)  
System.Web.WebPages.Deployment           File: 3.0.30128.0 (3.0.0.0)     Informational: 3.0.3-30128 (0e974218e12a67d4b1f25422119e40cfe6953e46)  
System.Web.WebPages                      File: 3.0.30128.0 (3.0.0.0)     Informational: 3.0.3-30128 (0e974218e12a67d4b1f25422119e40cfe6953e46)  
System.Web.WebPages.Razor                File: 3.0.30128.0 (3.0.0.0)     Informational: 3.0.3-30128 (0e974218e12a67d4b1f25422119e40cfe6953e46)  
WebGrease                                File:  (1.6.5135.21930)         Informational:                                
Zlib.Portable                            File: 1.11.0.0 (1.11.0.0)       Informational:                                
System.Web.WebPages.Deployment           File: 1.0.20105.407 (1.0.0.0)   Informational:                                
System.Runtime                           File: 4.7.2558.0 (4.0.0.0)      Informational: 4.7.2558.0                     
System.Resources.ResourceManager         File: 4.7.2558.0 (4.0.0.0)      Informational: 4.7.2558.0                     
System.Xaml                              File: 4.7.2670.0 (4.0.0.0)      Informational: 4.7.2670.0                     
Microsoft.Web.Hosting.Tracing            File: 77.0.8598.35 (1.0.0.0)    Informational: 77.0.8598.35 (rd_websites_stable.180830-1021)  
System.Data.Services.Design              File: 4.7.2558.0 (4.0.0.0)      Informational: 4.7.2558.0                     
App_global.asax.mqlpcpfd                 File:  (0.0.0.0)                Informational:                                
System.Numerics                          File: 4.7.2558.0 (4.0.0.0)      Informational: 4.7.2558.0                     
System.Web.DataVisualization             File: 4.7.2558.0 (4.0.0.0)      Informational: 4.7.2558.0                     
System.Reflection                        File: 4.7.2558.0 (4.0.0.0)      Informational: 4.7.2558.0                     
System.Collections                       File: 4.7.2558.0 (4.0.0.0)      Informational: 4.7.2558.0                     
System.Threading.Tasks                   File: 4.7.2558.0 (4.0.0.0)      Informational: 4.7.2558.0                     
System.Linq.Expressions                  File: 4.7.2558.0 (4.0.0.0)      Informational: 4.7.2558.0                     
System.Net.Primitives                    File: 4.7.2558.0 (4.0.0.0)      Informational: 4.7.2558.0                     
System.IO                                File: 4.7.2558.0 (4.0.0.0)      Informational: 4.7.2558.0                     
System.Xaml.Hosting                      File: 4.7.2558.0 (4.0.0.0)      Informational: 4.7.2558.0                     
System.ServiceModel.Internals            File: 4.7.3130.0 (4.0.0.0)      Informational: 4.7.3130.0                     
System.Transactions                      File: 4.7.2558.0 (4.0.0.0)      Informational: 4.7.2558.0                     
Microsoft.Transactions.Bridge            File: 4.7.2558.0 (4.0.0.0)      Informational: 4.7.2558.0                     
System.Messaging                         File: 4.7.2558.0 (4.0.0.0)      Informational: 4.7.2558.0                     
System.Runtime.DurableInstancing         File: 4.7.2558.0 (4.0.0.0)      Informational: 4.7.2558.0                     
SMDiagnostics                            File: 4.7.3130.0 (4.0.0.0)      Informational: 4.7.3130.0                     
System.Workflow.Runtime                  File: 4.7.3130.0 (4.0.0.0)      Informational: 4.7.3130.0                     
System.Workflow.ComponentModel           File: 4.7.3130.0 (4.0.0.0)      Informational: 4.7.3130.0                     
System.Workflow.Activities               File: 4.7.3130.0 (4.0.0.0)      Informational: 4.7.3130.0                     
System.Windows.Forms                     File: 4.7.2558.0 (4.0.0.0)      Informational: 4.7.2558.0                     
System.Data.Linq                         File: 4.7.2558.0 (4.0.0.0)      Informational: 4.7.2558.0                     
WindowsBase                              File: 4.7.2670.0 (4.0.0.0)      Informational: 4.7.2670.0                     
Anonymously Hosted DynamicMethods Assembly File:  (0.0.0.0)                Informational:                                
System.Data.Entity                       File: 4.7.2558.0 (4.0.0.0)      Informational: 4.7.2558.0                     
System.Data.Services.Client              File: 4.7.2558.0 (4.0.0.0)      Informational: 4.7.2558.0                     
Microsoft.WindowsAzure.ServiceRuntime    File: 2.7.1198.768 (2.7.0.0)    Informational: 2.7.1198.768 (rd_art_stable.160418-1850)  
msshrtmi                                 File:  (2.7.0.0)                Informational:                                
Microsoft.WindowsAzure.WebSites.Diagnostics File: 77.0.8598.35 (1.0.0.0)    Informational: 77.0.8598.35 (rd_websites_stable.180830-1021)  
Microsoft.Azure.Websites.StorageSdk      File: 4.3.0.0 (4.3.0.0)         Informational:                                
System.Data.OracleClient                 File: 4.7.2558.0 (4.0.0.0)      Informational: 4.7.2558.0                     
EntityFrameworkDynamicProxies-EntityFramework File:  (1.0.0.0)                Informational:                                           
System.Dynamic                           File: 4.7.2558.0 (4.0.0.0)      Informational: 4.7.2558.0                     
System.Net.Http.WebRequest               File: 4.7.2558.0 (4.0.0.0)      Informational: 4.7.2558.0                     
System.Web.Mobile                        File: 4.7.2558.0 (4.0.0.0)      Informational: 4.7.2558.0                     
App_Web_m30xlz2n                         File:  (0.0.0.0)                Informational:                                
App_Web_wiwet5rj                         File:  (0.0.0.0)                Informational:                                
App_Web_cfuest4n                         File:  (0.0.0.0)                Informational:                                
App_Web_um2zknz0                         File:  (0.0.0.0)                Informational:                                
App_Web_kthlaovy                         File:  (0.0.0.0)                Informational:                                
Microsoft.SqlServer.Types                File: 11.0.2100.60 ((SQL11_RTM).120210-1917 ) (11.0.0.0) Informational: 11.0.2100.60                   
The most recent license fetch used the following URL:

When fetching a remote license file (if you have one), the following information is sent via the querystring.
                         license_id [integer]
                         manager_id [guid]
                   total_heartbeats [integer]
                     new_heartbeats [integer]
                    first_heartbeat [integer]
                  reporting_version 4
                            proc_64 0
                          proc_guid kfCj84GEXEGK9KaiuXyHHQ
                    proc_sys_dotnet 4.7 or later
                           proc_iis 10.0
           proc_integrated_pipeline 1
                       proc_id_hash WgLvALTv
                   proc_asyncmodule 0
              proc_default_commands 
                proc_working_set_mb 199
                    proc_git_commit 9bd2b12e
                  proc_info_version 4.2.5
                  proc_file_version 4.2.5.1116
                  proc_apppath_hash t3FzIQCp
                                mod .Routing.UrlRoutingModule
                                mod .Handlers.ScriptModule
                                mod .Caching.OutputCacheModule
                                mod .SessionState.SessionStateModule
                                mod .WindowsAuthenticationModule
                                mod .DefaultAuthenticationModule
                                mod .RoleManagerModule
                                mod .UrlAuthorizationModule
                                mod .FileAuthorizationModule
                                mod .AnonymousIdentificationModule
                                mod .Profile.ProfileModule
                                mod .UrlMappingsModule
                                mod System.ServiceModel.Activation.ServiceHttpModule
                                mod Elmah.ErrorLogModule
                                mod Elmah.ErrorMailModule
                                mod Elmah.ErrorFilterModule
                                mod ImageResizer.InterceptModule
                                mod Microsoft.Owin.Host.SystemWeb.OwinHttpModule
                                mod SimpleInjector.Integration.Web.SimpleInjectorHttpModule
                                mod .WebPages.WebPageHttpModule
                                mod .Optimization.BundleModule
                    h_logical_cores 1
                       h_mac_digest 3zFxKBTo4PuhiFXtzG_swA
                             h_os64 1
             h_network_drives_count 0
               h_other_drives_count 1
               h_fixed_drives_count 2
                      h_fixed_drive NTFS,17,37
                      h_fixed_drive NTFS*,4,33
                                  p SizeLimiting
                                  p DiskCache
                                  p AzureReader2
                diskcache_autoclean 0
              diskcache_asyncwrites 0
               diskcache_subfolders 8192
            diskcache_network_drive 0
               diskcache_filesystem NTFS
              diskcache_drive_avail 4831793152
              diskcache_drive_total 33990635520
              diskcache_virtualpath /imagecache
                    provider_prefix /blob/
                     provider_flags 1,0,0,0,0,1,1
                        postauth_ok 83
                     postauthjob_ok 14
                source_multiple_8x8 14
                 source_multiple_x8 14
              counter_update_failed 0
                source_multiple_4x4 14
              source_multiple_16x16 14
                 source_multiple_8x 14
                source_file_ext_jpg 14
            module_response_ext_jpg 17
                     diskcache_miss 14
                      diskcache_hit 3
               encoded_pixels_total 4071900
      encoded_pixels_per_second_max 2113600
      encoded_pixels_per_minute_max 0
     encoded_pixels_per_15_mins_max 0
        encoded_pixels_per_hour_max 0
               jobs_completed_total 14
      jobs_completed_per_second_max 3
      jobs_completed_per_minute_max 0
     jobs_completed_per_15_mins_max 0
        jobs_completed_per_hour_max 0
               decoded_pixels_total 50921472
      decoded_pixels_per_second_max 9830400
      decoded_pixels_per_minute_max 0
     decoded_pixels_per_15_mins_max 0
        decoded_pixels_per_hour_max 0
                   blob_reads_total 75
          blob_reads_per_second_max 7
          blob_reads_per_minute_max 17
         blob_reads_per_15_mins_max 0
            blob_reads_per_hour_max 0
              blob_read_bytes_total 307774149
     blob_read_bytes_per_second_max 22241773
     blob_read_bytes_per_minute_max 33272999
    blob_read_bytes_per_15_mins_max 0
       blob_read_bytes_per_hour_max 0
                   source_width_5th 0
                  source_width_25th 0
                  source_width_50th 0
                  source_width_75th 0
                  source_width_95th 0
                 source_width_100th 0
                  source_height_5th 0
                 source_height_25th 0
                 source_height_50th 0
                 source_height_75th 0
                 source_height_95th 0
                source_height_100th 0
                  scaling_ratio_5th 106
                 scaling_ratio_25th 246
                 scaling_ratio_50th 409
                 scaling_ratio_75th 512
                 scaling_ratio_95th 960
                scaling_ratio_100th 960
                  output_pixels_5th 100000
                 output_pixels_25th 100000
                 output_pixels_50th 100000
                 output_pixels_75th 350000
                 output_pixels_95th 2100000
                output_pixels_100th 2100000
                   decode_times_5th 550000
                  decode_times_25th 900000
                  decode_times_50th 1250000
                  decode_times_75th 1800000
                  decode_times_95th 2100000
                 decode_times_100th 2100000
                 job_other_time_5th 59000
                job_other_time_25th 152500
                job_other_time_50th 360000
                job_other_time_75th 640000
                job_other_time_95th 1100000
               job_other_time_100th 1100000
                  source_pixels_5th 2400000
                 source_pixels_25th 2400000
                 source_pixels_50th 3700000
                 source_pixels_75th 5000000
                 source_pixels_95th 5000000
                source_pixels_100th 5000000
            output_aspect_ratio_5th 75
           output_aspect_ratio_25th 75
           output_aspect_ratio_50th 100
           output_aspect_ratio_75th 177
           output_aspect_ratio_95th 178
          output_aspect_ratio_100th 178
                  output_height_5th 80
                 output_height_25th 104
                 output_height_50th 200
                 output_height_75th 372
                 output_height_95th 504
                output_height_100th 504
                blob_read_times_5th 68500
               blob_read_times_25th 375000
               blob_read_times_50th 605000
               blob_read_times_75th 1175000
               blob_read_times_95th 2850000
              blob_read_times_100th 3600000
            source_aspect_ratio_5th 75
           source_aspect_ratio_25th 75
           source_aspect_ratio_50th 126
           source_aspect_ratio_75th 177
           source_aspect_ratio_95th 177
          source_aspect_ratio_100th 177
                   encode_times_5th 450
                  encode_times_25th 28800
                  encode_times_50th 161000
                  encode_times_75th 565000
                  encode_times_95th 960000
                 encode_times_100th 960000
                   output_width_5th 92
                  output_width_25th 104
                  output_width_50th 200
                  output_width_75th 416
                  output_width_95th 504
                 output_width_100th 504
             collect_info_times_5th 0
            collect_info_times_25th 0
            collect_info_times_50th 0
            collect_info_times_75th 0
            collect_info_times_95th 0
           collect_info_times_100th 0
                      job_times_5th 980000
                     job_times_25th 1425000
                     job_times_50th 1975000
                     job_times_75th 2525000
                     job_times_95th 3350000
                    job_times_100th 3350000
                      image_domains _
                       page_domains _
                         query_keys mode,h,w
               extra_job_query_keys red_dot
ajbeaven commented 5 years ago

I'm hitting this too. In my case, I'm trying to enforce watermarks. When the image has no width/height specified in the querystring, the watermark is not added. When querystring modifiers are supplied or I use a local file instead of Azure Storage with AzureReader2, the watermark is applied.

ajbeaven commented 5 years ago

Ahh, I see the AzureReader2 plugin has a redirectToBlobIfUnmodified option which fixed this for me:

<add name="AzureReader2" prefix="~/azure" redirectToBlobIfUnmodified="false" connectionString="{myconnectionstring}" />
lilith commented 4 years ago

Yes, this can be fixed by using redirectToBlobIfUnmodified="false"