Skip to content
Permalink
Browse files
Merge pull request #1181 from Theyooo/fix-wildcard-domains-regex
Fix wildcard domain regex
  • Loading branch information
jc21 committed Jul 18, 2021
2 parents a4c143e + 56c4f8a commit 4b8bdd22b37cd707e9a8eaf93b9a7a4838f419d0
Showing with 2 additions and 2 deletions.
  1. +1 −1 frontend/js/app/nginx/certificates/form.js
  2. +1 −1 frontend/js/app/nginx/proxy/form.js
@@ -251,7 +251,7 @@ module.exports = Mn.View.extend({
text: input
};
},
createFilter: /^(?:[^.]+\.?)+[^.]$/
createFilter: /^(?:\*\.)?(?:[^.*]+\.?)+[^.]$/
});
this.ui.dns_challenge_content.hide();
this.ui.credentials_file_content.hide();
@@ -278,7 +278,7 @@ module.exports = Mn.View.extend({
text: input
};
},
createFilter: /^(?:\.)?(?:[^.*]+\.?)+[^.]$/
createFilter: /^(?:\*\.)?(?:[^.*]+\.?)+[^.]$/
});

// Access Lists

0 comments on commit 4b8bdd2

Please sign in to comment.