Merge pull request #1508 from nasa/web-page-val-1507

[Web Page] Allow dashes in domains
This commit is contained in:
Andrew Henry 2017-04-03 15:49:25 -07:00 committed by GitHub
commit 251438eefd

View File

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