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

Password reset link in email broken if url has trailing slash #1604

Closed
javorszky opened this issue Dec 1, 2013 · 0 comments
Closed

Password reset link in email broken if url has trailing slash #1604

javorszky opened this issue Dec 1, 2013 · 0 comments
Assignees
Labels
bug [triage] something behaving unexpectedly
Milestone

Comments

@javorszky
Copy link
Contributor

In config.js, if you specify the url as http://mydomain.com/, then the reset link will have a double // in it. See:

  • http://my-ghost-blog.com//ghost/reset/MTM4NjAwMzE1NjkzOXxnYWJvckBqYXZvcnN6a3kuY28udWt8UE1CeEtTNkozTHNkOFdzdm9MbWJPRTN4RVdReUdiM3lxSThpRFJEclNnaz0=/
  • http://localhost:2368//ghost/reset/MTM4NjAwMjk4OTI3NXxnYWJvckBqYXZvcnN6a3kuY28udWt8OEZQdFJSTGkvUys1T2pLeHNjUnIrVFh6MEoyOGNmMCtKeU1GTHlkWjFyYz0=/

You get the idea. One solution is not to set a trailing slash in config.js. Another is to remove that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug [triage] something behaving unexpectedly
Projects
None yet
Development

No branches or pull requests

2 participants