-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In the Data API, the `path` attribute of `PATCH` operations was not handling escaped `~` and `/` values (escaped as `~0` and `~1`, respectively) according to the JSON-Pointer RFC. The API was using (and continues to support) URL escaping of these characters (so `%7E` and `%2F`, respectively), but this was not documented and is not strictly correct according to the documentation. However, this is being left unchanged to preserve backwards compatibility for anyone who stumbled across this behaviour. With this change, `~0` and `~1` in the `path` attribute of `PATCH` operations will be unescaped into `~` and `/` as defined in the RFC. Signed-off-by: Geoff Baskwill <me@geoffbaskwill.ca>
- Loading branch information
Showing
2 changed files
with
113 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters