diff options
author | Michał Górny <mgorny@gentoo.org> | 2016-04-18 17:45:01 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2016-04-18 17:45:01 +0200 |
commit | 181e46892590b84add173078455c4b8a99259e85 (patch) | |
tree | af0a013a6fcee58b97449f4f8cdc15a4df99727c /projects.xsd | |
parent | metadata: Use more portable fake-attr uniquity constraint for subslots (diff) | |
download | xml-schema-181e46892590b84add173078455c4b8a99259e85.tar.gz xml-schema-181e46892590b84add173078455c4b8a99259e85.tar.bz2 xml-schema-181e46892590b84add173078455c4b8a99259e85.zip |
Disallow whitespace in URLs
Diffstat (limited to 'projects.xsd')
-rw-r--r-- | projects.xsd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/projects.xsd b/projects.xsd index 770bd67..beaaf4e 100644 --- a/projects.xsd +++ b/projects.xsd @@ -85,7 +85,7 @@ <xs:simpleType name='urlType'> <xs:restriction base='xs:token'> <!-- TODO: something better? --> - <xs:pattern value="(mailto:[^@]+@[^.]+\..+|https?://.+)"/> + <xs:pattern value="https?://\S+"/> </xs:restriction> </xs:simpleType> |