Skip to content

Commit e0b977d

Browse files
Merge pull request #139 from AikidoSec/fix/blocklists-are-resource-independant
2 parents fab99f2 + bcaac8a commit e0b977d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

agent_api/src/main/java/dev/aikido/agent_api/collectors/WebRequestCollector.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public static Res report(ContextObject newContext) {
5252
// Blocked IP lists (e.g. Geo restrictions)
5353
ThreadCacheObject.BlockedResult ipBlocked = threadCache.isIpBlocked(newContext.getRemoteAddress());
5454
if (ipBlocked.blocked()) {
55-
String msg = "Your IP address is not allowed to access this resource.";
55+
String msg = "Your IP address is not allowed.";
5656
msg += " (Your IP: " + newContext.getRemoteAddress() + ")";
5757
return new Res(msg, 403);
5858
}

0 commit comments

Comments
 (0)