File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
jetty-http/src/main/java/org/eclipse/jetty/http
jetty-server/src/main/java/org/eclipse/jetty/server Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -662,7 +662,7 @@ public boolean hasAmbiguousSeparator()
662
662
}
663
663
664
664
/**
665
- * @return True if the URI has a possibly ambiguous separator of %2f
665
+ * @return True if the URI has a possibly ambiguous path parameter like '..;'
666
666
*/
667
667
public boolean hasAmbiguousParameter ()
668
668
{
Original file line number Diff line number Diff line change @@ -1837,7 +1837,7 @@ public void setMetaData(org.eclipse.jetty.http.MetaData.Request request)
1837
1837
if (uri .hasAmbiguousSeparator () && (compliance == null || compliance .sections ().contains (HttpComplianceSection .NO_AMBIGUOUS_PATH_SEPARATORS )))
1838
1838
throw new BadMessageException ("Ambiguous separator in URI" );
1839
1839
if (uri .hasAmbiguousParameter () && (compliance == null || compliance .sections ().contains (HttpComplianceSection .NO_AMBIGUOUS_PATH_PARAMETERS )))
1840
- throw new BadMessageException ("Ambiguous separator in URI" );
1840
+ throw new BadMessageException ("Ambiguous path parameter in URI" );
1841
1841
}
1842
1842
1843
1843
_originalURI = uri .isAbsolute () && request .getHttpVersion () != HttpVersion .HTTP_2 ? uri .toString () : uri .getPathQuery ();
You can’t perform that action at this time.
0 commit comments