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

Slashes stripped out on redirect for sites with a vanity URL #99

Open
mistermarco opened this issue May 1, 2012 · 0 comments
Open

Slashes stripped out on redirect for sites with a vanity URL #99

mistermarco opened this issue May 1, 2012 · 0 comments
Labels

Comments

@mistermarco
Copy link
Member

In webauth_error_page, the following line:
$redirect = str_replace(base_path(), '', $uri);
removes all slashes from a destination if the site has a vanity URL, because in that case, the base_path is /

Look at the 7.x version for fix where we use get_destination instead.

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

No branches or pull requests

1 participant