Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

same-host meta redirects always allowed regardless of docShell.allowMetaRedirects #23

Closed
jsamuel opened this issue Dec 22, 2011 · 1 comment

Comments

@jsamuel
Copy link
Member

jsamuel commented Dec 22, 2011

imported trac ticket
created: 2009-06-21 20:41:41
reporter: ques

!RequestPolicy ignores the docShell.allowMetaRedirects property. TBE or some addons such as Tab Permissions can enable or disable the property, but after installation of !RequestPolicy, redirects in same host are always allowed.

@jsamuel
Copy link
Member Author

jsamuel commented Dec 22, 2011

imported trac comment
created: 2010-06-27 18:27:52
author: justin

Fixed in r341. I can only guess that the forced-redirect code was the result of initially (way back in initial development) trying to stop redirects by disabling the docShell's allowMetaRedirects. However, that's not needed because the cross-site redirects will be blocked via shouldLoad.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant