Skip to content

Commit 95af854

Browse files
committed
T7092: Regex for registry location
1 parent 5e77589 commit 95af854

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

interface-definitions/container.xml.in

+4-1
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,10 @@
546546
</leafNode>
547547
<leafNode name="mirror">
548548
<properties>
549-
<help>Registry mirror, use host:port</help>
549+
<help>Registry mirror, use host[:port][/path]</help>
550+
<constraint>
551+
<regex>^(?:[[:alnum:]-]+(?:\.[[:alnum:]-]+)*|(?:[[:digit:]]{1,3}\.){3}[[:digit:]]{1,3}|\[[[:xdigit:]:]+])(?::[[:digit:]]{1,5})?(?:\/[^[:space:]?#]*)?$</regex>
552+
</constraint>
550553
</properties>
551554
</leafNode>
552555
</children>

0 commit comments

Comments
 (0)