-
Notifications
You must be signed in to change notification settings - Fork 381
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: properly match AJV paths with slashes
AJV error paths are JSON Pointers. These paths are converted to dot-notation in JSON Forms. However escaped JSON Pointer characters were not decoded. Therefore errors for properties containing one of the escaped characters were not properly matched. Background information: In JSON Pointers two characters need to be escaped: '~' is converted to '~0' and '/' is converted to '~1'. Therefore properties containing either '~' or '/' were not properly matched to errors before this fix. Fixes #2146
- Loading branch information
Showing
2 changed files
with
33 additions
and
9 deletions.
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