Skip to content
Snippets Groups Projects
Unverified Commit 4b8bdd22 authored by jc21's avatar jc21 Committed by GitHub
Browse files

Merge pull request #1181 from Theyooo/fix-wildcard-domains-regex

Fix wildcard domain regex
parents a4c143e2 56c4f8a1
Branches
No related tags found
No related merge requests found
...@@ -251,7 +251,7 @@ module.exports = Mn.View.extend({ ...@@ -251,7 +251,7 @@ module.exports = Mn.View.extend({
text: input text: input
}; };
}, },
createFilter: /^(?:[^.]+\.?)+[^.]$/ createFilter: /^(?:\*\.)?(?:[^.*]+\.?)+[^.]$/
}); });
this.ui.dns_challenge_content.hide(); this.ui.dns_challenge_content.hide();
this.ui.credentials_file_content.hide(); this.ui.credentials_file_content.hide();
......
...@@ -278,7 +278,7 @@ module.exports = Mn.View.extend({ ...@@ -278,7 +278,7 @@ module.exports = Mn.View.extend({
text: input text: input
}; };
}, },
createFilter: /^(?:\.)?(?:[^.*]+\.?)+[^.]$/ createFilter: /^(?:\*\.)?(?:[^.*]+\.?)+[^.]$/
}); });
// Access Lists // Access Lists
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment