2
Vote

Bug in exclude local requests for SslRedirector

description

There is a bug in RedirectorModule class, in SslRedirector_BeginRequest at line:
// Skip local requests if required
if (this.config.HostRedirector.ExcludeLocalRequests && app.Request.IsLocal) return;
there should be SslRedirector instead of HostRedirector:
// Skip local requests if required
if (this.config.SslRedirector.ExcludeLocalRequests && app.Request.IsLocal) return;

comments