You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The first problem is that jsonpointer expects pointers to be urlencoded, which I don't think is correct
(my reading of the RFC is that urlencoding should only be used when the pointer is part of a URL, so
nothing special to JSON pointer itself).
Instead this should give an error because there is no member a%20b.
It seems that I added the unquoting (currently line 145) already in the very first commit.
Initially the [RFC draft|https://tools.ietf.org/html/draft-pbryan-zyp-json-pointer-00] did contain
Property names SHOULD be URI encoded per [RFC2396]. In particular,
any "/" character in a property name MUST be encoded as "%2F" to
avoid being interpreted as a property reference token separator.
but this was removed before the final RFC, and is thus no longer correct.
The text was updated successfully, but these errors were encountered:
As pointed out by @mithrandi in stefankoegl/python-json-patch#63:
My response within the referenced issue
The text was updated successfully, but these errors were encountered: