mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 18:48:51 +02:00
Fixed bug #159: pattern matching too strict for URL fields.
SVN:trunk[666]
This commit is contained in:
@@ -1691,7 +1691,7 @@ class AttributeURL extends AttributeString
|
||||
|
||||
public function GetValidationPattern()
|
||||
{
|
||||
return "^(http|https|ftp)\://[a-zA-Z0-9\-\.]+\.[a-zA-Z]{2,3}(:[a-zA-Z0-9]*)?/?([a-zA-Z0-9\-\._\?\,\'/\\\+&%\$#\=~])*$";
|
||||
return "^(http|https|ftp)\://[a-zA-Z0-9\-\.]+(:[a-zA-Z0-9]*)?/?([a-zA-Z0-9\-\._\?\,\'/\\\+&%\$#\=~])*$";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user