git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@666 a333f486-631f-4898-b8df-5754b55c2be0
@@ -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\-\._\?\,\'/\\\+&%\$#\=~])*$";
}