Created
December 26, 2012 21:29
-
-
Save joakime/4383281 to your computer and use it in GitHub Desktop.
A jetty rule to strip/trim bad jsp requests
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Trim oddball JSP request URIs --> | |
<Call name="addRule"> | |
<Arg> | |
<New class="org.eclipse.jetty.rewrite.handler.RewriteRegexRule"> | |
<Set name="regex">(.*)\.jsp(\00.*)</Set> | |
<Set name="replacement">$1.jsp</Set> | |
</New> | |
</Arg> | |
</Call> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment