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

Fix allowing hyphens in basepath #3697

Merged
merged 2 commits into from
Jun 16, 2018
Merged

Fix allowing hyphens in basepath #3697

merged 2 commits into from
Jun 16, 2018

Conversation

jaredscheib
Copy link
Contributor

@jaredscheib jaredscheib commented Jun 16, 2018

Closes #3687

What was the problem?
A user reported that removing - as a valid char in basepath broke their basepath configuration. This PR is a stopgap until we implement all valid URL paths, which is in flight. I've opened up #3699 for the full fix.

What was the solution?
Update the basepath validator regex to include hyphens, and test for numbers, hyphens, and underscores.

  • CHANGELOG.md updated with a link to the PR (not the Issue)
  • Rebased/mergeable
  • Tests pass

@jaredscheib jaredscheib changed the title Allow hyphens and underscores in basepath Fix allowing hyphens in basepath Jun 16, 2018
Copy link
Contributor

@ischolten ischolten left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks Good!

@jaredscheib jaredscheib merged commit 7571bfe into master Jun 16, 2018
@jaredscheib jaredscheib deleted the fix/basepath_hyphens branch June 16, 2018 00:30
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.

Problems with basepath on 1.5.0.1
2 participants