-
Notifications
You must be signed in to change notification settings - Fork 3
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
Problem with encoded urls (%3A) #14
Comments
I'm afraid that our code is correct, but if you can point out to a section in any relevant RFC which proves us wrong, we'll of course fix our bug(s). The problem is that the RESTCONF RFC defines rules on what MUST be percent-encoded, and if these rules are not followed, you will have problems working with
So, you could argue that our implementation is broken because it does not accept an URL like this:
...because that one should be interpreted as
...as an URL that's equivalent to I think that urllib3/urllib3#3135 is the relevant bugreport for the Python implementation. But again, this is a complex matter, so if you can point out any standard which says otherwise, please say so. |
Fixed this by rewrite URLs in nginx. |
When sending a RESTCONF request using python requests , it is automatically URL encode as percent-encoded but after 96cbf73 I only get:
If i remove that patch, it works again.
works though.
The text was updated successfully, but these errors were encountered: