mirror of
https://github.com/jetty/jetty.project.git
synced 2025-03-04 04:49:12 +00:00
Merge remote-tracking branch 'origin/jetty-9.4.x'
This commit is contained in:
commit
348cbb02c0
@ -634,7 +634,7 @@ public class HttpURI
|
||||
/* ------------------------------------------------------------ */
|
||||
public void decodeQueryTo(MultiMap<String> parameters)
|
||||
{
|
||||
if (_query==_fragment)
|
||||
if (_query==null)
|
||||
return;
|
||||
UrlEncoded.decodeUtf8To(_query,parameters);
|
||||
}
|
||||
@ -648,7 +648,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))
|
||||
|
Loading…
x
Reference in New Issue
Block a user