We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d84b077 commit 886b1fcCopy full SHA for 886b1fc
src/main/java/com/mageddo/dnsproxyserver/solver/HostnameQuery.java
@@ -60,8 +60,10 @@ public boolean matches(String hostnamePattern) {
60
}
61
return false;
62
63
- if (this.useRegex && hostnamePattern.startsWith(REGEX_TAG) && hostnamePattern.endsWith(
64
- REGEX_TAG)) {
+ if (this.useRegex
+ && hostnamePattern.startsWith(REGEX_TAG)
65
+ && hostnamePattern.endsWith(REGEX_TAG)
66
+ ) {
67
return this.hostname
68
.getCanonicalValue()
69
.matches(StringUtils.substringBetween(hostnamePattern, REGEX_TAG, REGEX_TAG))
0 commit comments