public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] [PATCH] metadata.xsd: support ftp:// URLs for <changelog/> etc.
@ 2022-01-01 14:15 Anna Vyalkova
  0 siblings, 0 replies; only message in thread
From: Anna Vyalkova @ 2022-01-01 14:15 UTC (permalink / raw
  To: gentoo-dev

Closes: https://bugs.gentoo.org/830211
---
 metadata.xsd | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/metadata.xsd b/metadata.xsd
index d2e3d4f..c91584d 100644
--- a/metadata.xsd
+++ b/metadata.xsd
@@ -555,7 +555,7 @@
 	<xs:simpleType name='urlType'>
 		<xs:restriction base='xs:token'>
 			<!-- TODO: something better? -->
-			<xs:pattern value="(mailto:[^@]+@[^.\s]+\.\S+|https?://\S+)"/>
+			<xs:pattern value="(mailto:[^@]+@[^.\s]+\.\S+|(ftp|https?)://\S+)"/>
 		</xs:restriction>
 	</xs:simpleType>
 
-- 
2.34.1



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-01-01 14:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-01 14:15 [gentoo-dev] [PATCH] metadata.xsd: support ftp:// URLs for <changelog/> etc Anna Vyalkova

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox