Skip to content

Commit 251438e

Browse files
authored
Merge pull request nasa#1508 from nasa/web-page-val-1507
[Web Page] Allow dashes in domains
2 parents 4d6a0d4 + c07a372 commit 251438e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

platform/features/pages/bundle.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ define([
4747
"key": "url",
4848
"name": "URL",
4949
"control": "textfield",
50-
"pattern": "^(ftp|https?)\\:\\/\\/\\w+(\\.\\w+)*(\\:\\d+)?(\\/\\S*)*$",
50+
"pattern": "^(ftp|https?)\\:\\/\\/",
5151
"required": true,
5252
"cssClass": "l-input-lg"
5353
}

0 commit comments

Comments
 (0)