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

Library fails to parse URNs with both R and Q components #13

Closed
danielthepope opened this issue Aug 27, 2019 · 1 comment · Fixed by #14
Closed

Library fails to parse URNs with both R and Q components #13

danielthepope opened this issue Aug 27, 2019 · 1 comment · Fixed by #14
Assignees
Labels
Milestone

Comments

@danielthepope
Copy link

We've identified an issue where, if a URN contains both an r- and a q- component, the library fails to parse the r-component correctly.

urn:example:foo?+key=value?=fizz=buzz says the r-component is key= (value is empty string). We believe there is an issue with the regular expression that is trying to extract the r-component.

The issue also occurs when the URN contains a f-component, either with or without the q-component.

@danielthepope
Copy link
Author

We will be submitting a PR shortly that will fix this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging a pull request may close this issue.

2 participants