Fix #1840
This commit is contained in:
parent
06e00355a2
commit
3c6934c24b
|
@ -608,7 +608,7 @@ public class HttpURI
|
|||
/* ------------------------------------------------------------ */
|
||||
public void decodeQueryTo(MultiMap<String> parameters)
|
||||
{
|
||||
if (_query==_fragment)
|
||||
if (_query==null)
|
||||
return;
|
||||
UrlEncoded.decodeUtf8To(_query,parameters);
|
||||
}
|
||||
|
@ -622,7 +622,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…
Reference in New Issue