-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Better validation and testing of key paths
Previously, we allowed key paths to end in backslashes and we allowed key names to be more than 255 characters, which are both wrong. This commit uses a regex to perform better validation. It also adds better tests, and to ensure that the capture of the repeating capture group works (for more than a single level).
- Loading branch information
1 parent
e9f00c1
commit d05d1e6
Showing
2 changed files
with
17 additions
and
18 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