You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given a URL with an undefined query parameter value http://example.com/?param the QueryParameters#splitEntries will throw a java.util.NoSuchElementException.
The library should either ignore those parameters or support them. IMHO actual error handling should occur in the application code.
The text was updated successfully, but these errors were encountered:
It's definitely a bug. We should support any format of the query string since according to the official URI specification RFC3986 does not have a defined format. It's just that most implementations support key value pairs.
The query component contains non-hierarchical data that, along with
data in the path component (Section 3.3), serves to identify a
resource within the scope of the URI's scheme and naming authority
(if any). [...] However, as query components
are often used to carry identifying information in the form of
"key=value" pairs and one frequently used value is a reference to
another URI, [...].
Given a URL with an undefined query parameter value
http://example.com/?param
theQueryParameters#splitEntries
will throw a java.util.NoSuchElementException.The library should either ignore those parameters or support them. IMHO actual error handling should occur in the application code.
The text was updated successfully, but these errors were encountered: