Skip to content

Conversion to a dict loses repeated keys in query string #9

Description

@sebbASF

args = dict(urllib.parse.parse_qsl(url_parsed.query))

If a query string contains repeated parameter keys, only one will be kept because of the conversion to a dict.

Whilst having repeated keys is unusual, it is allowed by the syntax.
Note that parse_qsl returns a list (rather than a dict) in order to allow for this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions