diff options
Diffstat (limited to 'metadata/xml-schema/metadata.xsd')
-rw-r--r-- | metadata/xml-schema/metadata.xsd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/metadata/xml-schema/metadata.xsd b/metadata/xml-schema/metadata.xsd index 0ead09ee8342..8bc6a4eff855 100644 --- a/metadata/xml-schema/metadata.xsd +++ b/metadata/xml-schema/metadata.xsd @@ -532,7 +532,7 @@ <xs:simpleType name='urlType'> <xs:restriction base='xs:token'> <!-- TODO: something better? --> - <xs:pattern value="(mailto:[^@]+@[^.]+\..+|https?://.+)"/> + <xs:pattern value="(mailto:[^@]+@[^.\s]+\.\S+|https?://\S+)"/> </xs:restriction> </xs:simpleType> |