Commit 2a28f87
authored
Allow apostrophe in uri-template literal (#1275)
The uri-template format regex listed ' in its excluded character set, so
"a'b" was reported invalid. An apostrophe in a literal is valid; remove it
from the exclusion set.1 parent f8c7659 commit 2a28f87
2 files changed
Lines changed: 13 additions & 1 deletion
File tree
- src
- main/java/com/networknt/schema/format
- test/java/com/networknt/schema
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
220 | 220 | | |
221 | 221 | | |
222 | 222 | | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
223 | 235 | | |
0 commit comments