|
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.
infrastructure-oauth/app/endpoints/oauth.py
Line 71 in 21d687c
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_qslreturns a list (rather than a dict) in order to allow for this.