-
Notifications
You must be signed in to change notification settings - Fork 13
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
Purl Encoding/Decoding bug #29
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As per purl specification, purl URL should conform to the URL definitions or specifications of rfc3986. Current implementation uses
WebUtility.UrlEncode()
andWebUtility.UrlDecode()
which does not follow rfc3986 specification.Example -
As here we can see the WebUtility.UrlEncode() encodes spaces as
+
but as per rfc3986 it should be encoded as%20
. If we look other implementations of purl (JAVA, JS) those implementations encode spaces as%20
. There's incompatibility with other implementations when they decode purl encoded by this dotnet implementation.The text was updated successfully, but these errors were encountered: