javascript - Can you at least get the domain of the https referer? -


i've noticed if foreign https: site links non-https site, don't in http referer header @ all. i've experienced access.log, presume same happens javascript's document.referrer, too.

so, if referrer https, there no way information it? not hostname / domain name? or possible somehow @ least domain, javascript?

also, presume running own site https isn't going solve issue me, correct?

you should check answer : get referrer url - visitors coming paypal (https)


in case site uses http (not https) , referer uses https, there no referrer being sent!

http rfc - 15.1.3 encoding sensitive information in uri's states:

clients should not include referer header field in (non-secure) http request if referring page transferred secure protocol.

so way referrer use https on site.


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -