summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'metadata/xml-schema/repositories.xsd')
-rw-r--r--metadata/xml-schema/repositories.xsd2
1 files changed, 1 insertions, 1 deletions
diff --git a/metadata/xml-schema/repositories.xsd b/metadata/xml-schema/repositories.xsd
index ef6792e2c96d..32a55acc7f92 100644
--- a/metadata/xml-schema/repositories.xsd
+++ b/metadata/xml-schema/repositories.xsd
@@ -340,7 +340,7 @@
<xs:simpleType name='urlType'>
<xs:restriction base='xs:token'>
<!-- TODO: something better? -->
- <xs:pattern value="[^:]+:.+"/>
+ <xs:pattern value="[^:\s]+:\S+"/>
</xs:restriction>
</xs:simpleType>