bitpiston / oyster

A Perl web application framework.
Other
3 stars 1 forks source link

Return to previous page after login does not go anywhere #47

Open einkoro opened 11 years ago

einkoro commented 11 years ago

Not sure when this broke but I noticed it today working on the 5381 projects – should be fixed asap. Probably a busted variable in the user module or XSLT for it.

einkoro commented 11 years ago

Looks like we can't rely upon the referer anymore. history.go(-2) javascript as a fallback seems like the only option here.

This also affects other modules that pass a "return to previous page" link in confirmation methods. Content and news in Chowder come to mind - the forums as well I think.

sluther commented 11 years ago

Why can't we rely on the referrer?

neen

On Aug 27, 2012, at 12:29 PM, Jan Pingel notifications@github.com wrote:

Looks like we can't rely upon the referer anymore. history.go(-2) javascript as a fallback seems like the only option here.

— Reply to this email directly or view it on GitHub.

einkoro commented 11 years ago

It isn't set anymore in webkit. Didn't work in gecko for me either anymore. Plus a lot of firewall software strips it out.

einkoro commented 11 years ago

Sadly this doesn't really work if a user logged in as they go back to their previous page but it doesn't load the changes (such as user specific things after login).