[Web Page] Allow dashes in domains

Fixes #1507
This commit is contained in:
Victor Woeltjen 2017-04-03 13:29:48 -07:00
parent 4d6a0d4931
commit f666a7ca09

View File

@ -47,7 +47,7 @@ define([
"key": "url",
"name": "URL",
"control": "textfield",
"pattern": "^(ftp|https?)\\:\\/\\/\\w+(\\.\\w+)*(\\:\\d+)?(\\/\\S*)*$",
"pattern": "^(ftp|https?)\\:\\/\\/[-\\w]+(\\.[-\\w]+)*(\\:\\d+)?(\\/\\S*)*$",
"required": true,
"cssClass": "l-input-lg"
}