Skip to content

Commit b9c5f54

Browse files
author
MB
committed
[grammar] disallow backslashes in test urls
1 parent 1f10e59 commit b9c5f54

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

utils/relaxng.xml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,11 @@
2121

2222
<zeroOrMore>
2323
<element name="test">
24-
<attribute name="url" />
24+
<attribute name="url">
25+
<data type="string">
26+
<param name="pattern">http[^\\]+</param>
27+
</data>
28+
</attribute>
2529
</element>
2630
</zeroOrMore>
2731

0 commit comments

Comments
 (0)