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
{{ message }}
Repository navigation
URL.click('?') retains the base query instead of clearing it #207
The last call is a nonempty-query control. RFC 3986 section 5.2.2 says a defined query on a reference with an empty path replaces the base query, even when the query is empty. The expected target is therefore http://a/b/c?.
URL.from_text("http://a/b/c?").to_text() also drops the trailing question mark, so the parser appears to lose the distinction between an absent query and a present-but-empty query. This affects links intended to clear existing query parameters.
Activity