-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle escaped forward slashes
\\/
(#75)
* Handle escaped forward slashes `\\/` Forward slash (`/`) is prefixed with double backslash (`\\`) in a JSON string. Although this is valid in JSON, this will fail regex parsing in the rust `Regex` library, which will error when parsing an escaped forward slash. This string replacement ensures that escaped forward slashes do not fail validation. * Remove unnecessary import --------- Co-authored-by: Sheldon Warkentin <sheldonw@forallsecure.com>
- Loading branch information
1 parent
3a5824b
commit 8c8826f
Showing
1 changed file
with
60 additions
and
5 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