We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
with_query
I've ran into this when some external service sent an escaped character:
In [16]: str(URL("/").with_query(foo="bar&baz%26qux")) Out[16]: '/?foo=bar%26baz%26qux'
The distinction between inputs & and %26 is lost:
&
%26
In [19]: URL(x).query Out[19]: <MultiDictProxy('foo': 'bar&baz&qux')>
This makes the library hard to use for arbitrary input.
The specific case where yarl broke involved 2 redirects (i.e. nested) where each had own query parameters.
yarl
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
I've ran into this when some external service sent an escaped character:
The distinction between inputs
&
and%26
is lost:This makes the library hard to use for arbitrary input.
The specific case where
yarl
broke involved 2 redirects (i.e. nested) where each had own query parameters.The text was updated successfully, but these errors were encountered: