301リダイレクトが常にリファラーを保持するかどうかを知りたいです。
ページ「orig_https.asp」へのハイパーリンクを含む「gotoorig_https.html」というページを作成します。
「orig_https.asp」は、document.referrerを表示する「dest.html」に301リダイレクトします。
この場合、
http page(gotoorig_https.html) -> orig_https.asp(301 redirect)-> https page (dest.html) <--the referrer preserves
https page(gotoorig_https.html) -> orig_https.asp(301 redirect)-> https page (dest.html) <--the referrer preserves
また、ページ「orig_http.asp」へのハイパーリンクを含む「gotoorig_http.html」というページを作成します。「orig_http.asp」は、document.referrerを表示する「dest.html」に301リダイレクトします。
この場合、
http page(gotoorig_http.html) -> orig_http.asp(301 redirect)-> http page (dest.html) <--the referrer preserves
https page(gotoorig_http.html) -> orig_http.asp(301 redirect)-> http page (dest.html) <--the referrer DOES NOT preserve.
なぜ最後のケースが発生するのですか?