Import: Handle uploads with sha1 starting with 0 properly
[mediawiki.git] / resources / src / mediawiki / mediawiki.Uri.strict.regexp
blob2ac7d2fce9e199af7ab916bb228db662e025da42
2 (?:(?<protocol>[^:/?#]+):)?
3 (?://(?:
4         (?:
5                 (?<user>[^:@/?#]*)
6                 (?::(?<password>[^:@/?#]*))?
7         )?@)?
8         (?<host>[^:/?#]*)
9         (?::(?<port>\d*))?
11 (?<path>(?:[^?#/]*/)*[^?#]*)
12 (?:\?(?<query>[^#]*))?
13 (?:\#(?<fragment>.*))?