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
We have a website (https://example.com) with some URLs that moved to other sites, so we return 301s to those new URLs.
For example: https://example.com/old-url-that-moved should return a 301, with a Location header of http://other-site.com/new-url
The issue is that the redirect tween changes the scheme of the other domain to https, but the other domain does not serve the pages through https. In the example above, instead of redirecting to http://other-example.com/new-url like it should, users are redirected to https://other-example.com/new-url and the page does not load.
We have a website (
https://example.com
) with some URLs that moved to other sites, so we return 301s to those new URLs.For example:
https://example.com/old-url-that-moved
should return a 301, with aLocation
header ofhttp://other-site.com/new-url
The issue is that the redirect tween changes the scheme of the other domain to https, but the other domain does not serve the pages through https. In the example above, instead of redirecting to
http://other-example.com/new-url
like it should, users are redirected tohttps://other-example.com/new-url
and the page does not load.pyramid_hsts/src/pyramid_hsts/__init__.py
Lines 243 to 245 in 11725d1
The text was updated successfully, but these errors were encountered: