Skip to content

Fixed redirect if location.pathname + "/" == basepath #2

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

Merged
merged 1 commit into from
Sep 24, 2012

Conversation

VladimirShestakov
Copy link
Contributor

If basepath = "/path/" and current url = "http://site.com/path", redirected href will be http://site.com/path/path. This fixed to http://site.com/path/

@devote
Copy link
Owner

devote commented Sep 24, 2012

Hi,
Of course, this is my fault - your fix is fine!

Thanks!

devote added a commit that referenced this pull request Sep 24, 2012
Fixed redirect if location.pathname + "/" == basepath
@devote devote merged commit 0cd131d into devote:master Sep 24, 2012
@VladimirShestakov
Copy link
Contributor Author

Need fix the other files =)

@devote
Copy link
Owner

devote commented Sep 24, 2012

yes, of course... I fix later. Thanks!

@keverw keverw mentioned this pull request Sep 27, 2012
termi added a commit to termi/HTML5-History-API that referenced this pull request Feb 6, 2013
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

Successfully merging this pull request may close these issues.

2 participants