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

Redirect url can be stripped off when baseUrl has path #1

Open
matomesc opened this issue Oct 4, 2015 · 0 comments
Open

Redirect url can be stripped off when baseUrl has path #1

matomesc opened this issue Oct 4, 2015 · 0 comments
Assignees
Labels
Milestone

Comments

@matomesc
Copy link
Owner

matomesc commented Oct 4, 2015

The culprit is here. Since the paths are absolute, url.resolve will replace /any/path on the baseUrl before redirecting. Setting the redirectUrl is recommended to prevent this from happening.

@matomesc matomesc added the bug label Oct 4, 2015
@matomesc matomesc self-assigned this Oct 4, 2015
@matomesc matomesc added this to the v1.0.0 milestone Oct 4, 2015
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