mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-11-08 11:40:58 +01:00
#1131 Correct quote type in debug statement
- Java util Logger does not escape placeholders if they are in normal single quotes
This commit is contained in:
parent
3b70492bb9
commit
ed55c77706
@ -118,7 +118,7 @@ public class ValidationService implements Reloadable {
|
|||||||
String countryCode = geoIpService.getCountryCode(hostAddress);
|
String countryCode = geoIpService.getCountryCode(hostAddress);
|
||||||
boolean isCountryAllowed = validateWhitelistAndBlacklist(countryCode,
|
boolean isCountryAllowed = validateWhitelistAndBlacklist(countryCode,
|
||||||
ProtectionSettings.COUNTRIES_WHITELIST, ProtectionSettings.COUNTRIES_BLACKLIST);
|
ProtectionSettings.COUNTRIES_WHITELIST, ProtectionSettings.COUNTRIES_BLACKLIST);
|
||||||
ConsoleLogger.debug("Country code '{0}' for '{1}' is allowed: {2}", countryCode, hostAddress, isCountryAllowed);
|
ConsoleLogger.debug("Country code `{0}` for `{1}` is allowed: {2}", countryCode, hostAddress, isCountryAllowed);
|
||||||
return isCountryAllowed;
|
return isCountryAllowed;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user