AFN: validate the provided forge URL more extensively
1 unresolved thread
1 unresolved thread
Compare changes
- Antoine Lambert authored
As URL input in AFN form is validated at each typed character, the javascript URL constructor can raise an exception so it needs to be handled.
@@ -136,7 +136,12 @@ export function populateRequestBrowseList() {
@@ -153,7 +158,12 @@ function isGitHubUrl(url) {
@@ -352,9 +362,13 @@ const stagitPathnameExtraRe = RegExpX(`