Merge remote-tracking branch 'origin/jetty-9.3.x' into jetty-9.4.x
This commit is contained in:
commit
af80b2c044
|
@ -610,7 +610,7 @@ public class HttpURI
|
||||||
/* ------------------------------------------------------------ */
|
/* ------------------------------------------------------------ */
|
||||||
public void decodeQueryTo(MultiMap<String> parameters)
|
public void decodeQueryTo(MultiMap<String> parameters)
|
||||||
{
|
{
|
||||||
if (_query==_fragment)
|
if (_query==null)
|
||||||
return;
|
return;
|
||||||
UrlEncoded.decodeUtf8To(_query,parameters);
|
UrlEncoded.decodeUtf8To(_query,parameters);
|
||||||
}
|
}
|
||||||
|
@ -624,7 +624,7 @@ public class HttpURI
|
||||||
/* ------------------------------------------------------------ */
|
/* ------------------------------------------------------------ */
|
||||||
public void decodeQueryTo(MultiMap<String> parameters, Charset encoding) throws UnsupportedEncodingException
|
public void decodeQueryTo(MultiMap<String> parameters, Charset encoding) throws UnsupportedEncodingException
|
||||||
{
|
{
|
||||||
if (_query==_fragment)
|
if (_query==null)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (encoding==null || StandardCharsets.UTF_8.equals(encoding))
|
if (encoding==null || StandardCharsets.UTF_8.equals(encoding))
|
||||||
|
|
Loading…
Reference in New Issue