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
Corruption of query parameter value when using base_url with query string #3614
changed the title [-]Tailing slash is inserted whri base_url and query arguments and corrupt them[/-][+]Corruption of query parameter value when using base_url with query string[/+]on Jul 27, 2025
Activity
[-]Tailing slash is inserted whri base_url and query arguments and corrupt them[/-][+]Corruption of query parameter value when using base_url with query string[/+]lovelydinosaur commentedon Jul 27, 2025
Yep either of the two options you listed might be expected. The third, actual case is clearly invalid.
If I were redesigning this I would probably restrict the
base_urlto the scheme and domain portions.Allowing a path portion is okayish, although somewhat ambiguous wrt expected join behaviours.
Allowing a query parameter portion is clearly problematic.
fix query parameter value (encode#3614)
Fix query parameter corruption in base_url with trailing slash enforc…
Fix base_url query parameters being corrupted during URL merging
feat(exam): pin M-EXT3 task encode/httpx#3614
feat(exam): close M-EXT3 TIE on encode/httpx#3614