rfc3986
rfc3986 copied to clipboard
any way to validate only relative path?
Any way to validate only relative path? For example, just check characters.
https://rfc3986.readthedocs.io/en/latest/api-ref/validators.html#rfc3986.validators.Validator.check_validity_of could be used with the value "path". I don't recall how the validation works but if it doesn't allow relative paths then that's a bug we should fix. Likely we want to add a way to specify whether something should be an absolute or relative path. But that's a later improvement that I'm not sure is urgently needed