You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 20, 2018. It is now read-only.
When using the AddRedirectToHttps with statusCode, the statusCode is ignored. It's always 302. Same applies for AddRedirectToHttpsPermanent where 301 is expected.
I believe the problem is in RedirectToHttpsRule class here. It's using the Redirect, which defaults to 302 and the StatusCode property is ignored.
The text was updated successfully, but these errors were encountered:
(FYI for folks -- I have made the previous triage edits on the bug, not @cincuranet. Looks like there's a GH issue where it appears to put his name instead of mine.)
When using the
AddRedirectToHttps
withstatusCode
, thestatusCode
is ignored. It's always302
. Same applies forAddRedirectToHttpsPermanent
where 301 is expected.I believe the problem is in
RedirectToHttpsRule
class here. It's using theRedirect
, which defaults to302
and theStatusCode
property is ignored.The text was updated successfully, but these errors were encountered: