Skip to content

gh-135523: Enforce RFC 3986 query chars in strict parse_qsl#152530

Open
hrimov wants to merge 1 commit into
python:mainfrom
hrimov:fix/strict-query-chars-parse-qsl
Open

gh-135523: Enforce RFC 3986 query chars in strict parse_qsl#152530
hrimov wants to merge 1 commit into
python:mainfrom
hrimov:fix/strict-query-chars-parse-qsl

Conversation

@hrimov

@hrimov hrimov commented Jun 28, 2026

Copy link
Copy Markdown
Contributor

RFC 3986 defines valid query characters as pchar / "/" / "?". So, IMO with strict_parsing it makes sense to validate against this set and reject other characters like (#, [, ], etc)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant