Skip to content


Blocks recursive proxy calls
Browse files Browse the repository at this point in the history
  • Loading branch information
davidjgraph committed Oct 17, 2022
1 parent b725015 commit 6017127
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/main/java/com/mxgraph/online/
Expand Up @@ -78,6 +78,12 @@ else if (Utils.sanitizeUrl(urlParam))

try(OutputStream out = response.getOutputStream())
if ("".equals(ua))
log.log(Level.SEVERE, "Infinite loop detected, proxy should not call itself");
throw new UnsupportedContentException();


Expand Down

1 comment on commit 6017127

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.