diff options
author | Yorhel <git@yorhel.nl> | 2013-05-19 16:37:49 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2013-05-19 16:37:49 +0200 |
commit | 6220b3962f1683fed529899f621feb039ecebd8f (patch) | |
tree | 2830dc8881ef9487433d5e22492f26b26e9eac08 /util/vndb.pl | |
parent | 0208c30daab099c82ae96f8e42b25cb84bc14337 (diff) |
Allow * in URL validator
Fixes http://vndb.org/t4105
Diffstat (limited to 'util/vndb.pl')
-rwxr-xr-x | util/vndb.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/vndb.pl b/util/vndb.pl index 797f56ea..a9ca9f61 100755 --- a/util/vndb.pl +++ b/util/vndb.pl @@ -50,7 +50,7 @@ TUWF::set( # for compatibility with YAWF validate_templates => { mail => { regex => qr/^[^@<>\s]+@[^@.<>\s]+(?:\.[^@.<>\s]+)+$/ }, - url => { regex => qr/^(http|https):\/\/[\w\-_]+(\.[\w\-_]+)+([\w\-\.,@?^=%&:\/~\+#]*[\w\-\@?^=%&\/~\+#])?$/ }, + url => { regex => qr/^(http|https):\/\/[\w\-_]+(\.[\w\-_]+)+([\w\-\.,@?^=%&:\/~\+\*#]*[\w\-\@?^=%&\/~\+#\*])?$/ }, asciiprint => { regex => qr/^[\x20-\x7E]*$/ }, int => { regex => qr/^-?[0-9]+$/ }, pname => { regex => qr/^[a-z0-9-]*$/ }, |