Fixed blacklist returned location URL on empty parameters

pull/135/head
luccioman 7 years ago
parent f678394ce5
commit d8eaf621cc

@ -77,7 +77,7 @@ public final class BlacklistHelper {
if(location != null) {
if(location.startsWith("/")) {
/* Remove the starting "/" to redirect to a relative location for easier reverse proxy integration */
location = location.substring(1, location.length() -1 );
location = location.substring(1, location.length());
}
return location;
}
@ -126,7 +126,7 @@ public final class BlacklistHelper {
if(location != null) {
if(location.startsWith("/")) {
/* Remove the starting "/" to redirect to a relative location for easier reverse proxy integration */
location = location.substring(1, location.length() -1 );
location = location.substring(1, location.length());
}
return location;
}

Loading…
Cancel
Save