Skip to content

Commit

Permalink
Issue #6263 - Review URI encoding in ConcatServlet & WelcomeFilter.
Browse files Browse the repository at this point in the history
Small fix to a comment in HttpURI parsing.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
  • Loading branch information
sbordet committed May 12, 2021
1 parent 544eb74 commit 0489e04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jetty-http/src/main/java/org/eclipse/jetty/http/HttpURI.java
Expand Up @@ -902,7 +902,7 @@ private void parse(State state, final String uri)
int segment = 0; // the start of the current segment within the path
boolean encoded = false; // set to true if the path contains % encoded characters
boolean dot = false; // set to true if the path containers . or .. segments
int escapedTwo = 0; // state of parsing a %2f
int escapedTwo = 0; // state of parsing a %2<x>
int end = uri.length();
for (int i = 0; i < end; i++)
{
Expand Down Expand Up @@ -1289,4 +1289,4 @@ else if (param && ambiguous == Boolean.FALSE)
}
}
}
}
}

0 comments on commit 0489e04

Please sign in to comment.