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

Unnessesary 301 redirects (Solution as Gist included) #97

Open
cYbercOsmOnauT opened this issue Jun 19, 2015 · 0 comments
Open

Unnessesary 301 redirects (Solution as Gist included) #97

cYbercOsmOnauT opened this issue Jun 19, 2015 · 0 comments

Comments

@cYbercOsmOnauT
Copy link

Inside the core.php is a expected_url method which makes the script do unneeded 301 redirects just because it gives back the same url with the same arguments just in a different order.

For example
viewforum.php?uid=1654&f=2&unwatch=forum&start=0&hash=4cc0bdbf&_=1434724982500
got redirected to
viewforum.php?hash=4cc0bdbf&f=2&unwatch=forum&uid=1654&_=1434724982500&start=0

I didn't fork your repo. So here is a gist for the solution :)

https://gist.github.com/cYbercOsmOnauT/fe96f224a3c4b0331a09

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

No branches or pull requests

1 participant