Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x

This commit is contained in:
Greg Wilkins 2017-10-20 11:09:48 +11:00
commit af80b2c044
1 changed files with 2 additions and 2 deletions

View File

@ -610,7 +610,7 @@ public class HttpURI
/* ------------------------------------------------------------ */
public void decodeQueryTo(MultiMap<String> parameters)
{
if (_query==_fragment)
if (_query==null)
return;
UrlEncoded.decodeUtf8To(_query,parameters);
}
@ -624,7 +624,7 @@ public class HttpURI
/* ------------------------------------------------------------ */
public void decodeQueryTo(MultiMap<String> parameters, Charset encoding) throws UnsupportedEncodingException
{
if (_query==_fragment)
if (_query==null)
return;
if (encoding==null || StandardCharsets.UTF_8.equals(encoding))