Replies: 1 comment 1 reply
-
|
Hi @alcohol it seems like a legit case. I’ve been working on the validations based on the JSON schema test cases. So it would be very likely that there was no such test case and that is how this could have been overlooked. If you could make a PR I’m available to help with the review and merging/releasing. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Currently, the URI validator does not support
file:///pathfor a local path. It does seem to supportfile://path; but this is technically wrong (though a common mistake): https://en.wikipedia.org/wiki/File_URI_schemeSee also https://en.wikipedia.org/wiki/File_URI_scheme#Number_of_slash_characters
Since this is a validation library and not just an interpreter, would it not be preferable to enforce the specification?
Beta Was this translation helpful? Give feedback.
All reactions