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(v2): relax URI validation #3227

Merged
merged 7 commits into from
Aug 7, 2020
Merged

Conversation

anshulrgoyal
Copy link
Contributor

Motivation

Fix #3219. I took the regex from Joi core and modified it to allow hash in path fragments.

Have you read the Contributing Guidelines on pull requests?

Yes

Test Plan

I have added tests

@facebook-github-bot facebook-github-bot added the CLA Signed Signed Facebook CLA label Aug 6, 2020
@docusaurus-bot
Copy link
Contributor

docusaurus-bot commented Aug 6, 2020

Deploy preview for docusaurus-2 ready!

Built with commit 9eee083

https://deploy-preview-3227--docusaurus-2.netlify.app

@anshulrgoyal anshulrgoyal changed the title relax URI validation fix(v2): relax URI validation Aug 6, 2020
@anshulrgoyal anshulrgoyal requested a review from slorber August 7, 2020 07:23
@slorber slorber added the pr: bug fix This PR fixes a bug in a past release. label Aug 7, 2020
@slorber
Copy link
Collaborator

slorber commented Aug 7, 2020

thanks

@slorber slorber merged commit 181a617 into facebook:master Aug 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Signed Facebook CLA pr: bug fix This PR fixes a bug in a past release.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

validation system false positive on URL with #
4 participants