Re:Firefox 59 to strip path information from referrer values...
by progval on Thursday February 01, 2018 @06:49PM
(#16287068)
It might break websites that provide features based on the referrer (eg. a central authentication that redirects back to the original page)
[ Parent
| on HN ]
Re:Firefox 59 to strip path information from referrer values...
by sk5t on Thursday February 01, 2018 @07:11PM
(#16287170)
I can't recall ever encountering a referer-based authorization scheme that included the path or querystring in its logic--although it seems likely some goofus has implemented it, somewhere.
Re:Firefox 59 to strip path information from referrer values...
by shkkmo on Thursday February 01, 2018 @07:55PM
(#16287436)
I actually just finished implementing a very simple JWT single sign-on feature. We don't use the referer for the authentication/authorization. However, having the path/query in the referer does allow our partners to know what (if any) post-login redirect path/query to include in the JWT to provide end users a seamless re-authentication experience.
We could, of course, build the same functionality into our implementation without relying having the path/query in the referer.
Re:Firefox 59 to strip path information from referrer values...
by DCoder on Thursday February 01, 2018 @11:41PM
(#16288465)
I have seen sites where the "Download this foobar" link only works when the referrer is the "Details of this foobar" page, where the download link is placed. If you sent a referrer of some other page on the site, e.g. the "list of all foobars" page, downloads would fail.
Re:Firefox 59 to strip path information from referrer values...
by ams6110 on Thursday February 01, 2018 @08:39PM
(#16287671)
Considering that referer is trivially spoofable, not a great idea to rely on it for anything really.
Re:Firefox 59 to strip path information from referrer values...
by thefifthsetpin on Thursday February 01, 2018 @08:49PM
(#16287728)
So are cookies, but you wouldn't say that it's a bad idea to rely on them. Spoofing is only useful if you know the value you need to spoof.