-
Notifications
You must be signed in to change notification settings - Fork 160
New issue
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
Questions about yarl behavior #420
Comments
Hi! any update on this one |
I don't understand what you're trying to achieve and how you use YARL. |
Hi @webknjaz Feel free to let me know if you need any info! And thanks again to help look into that! |
You're talking about the low level implementation detail, please show your code. |
Same here. I need to redirect a user to another URL in aiohttp app >>> url = 'https://storage.googleapis.com/bucket-name/4badf680bf5%2F0463d893f14%2F6498af44f0%2Fpro%28d%29uction.jpg'
>>> URL(url)
URL('https://storage.googleapis.com/bucket-name/4badf680bf5%2F0463d893f14%2F6498af44f0%2Fpro(d)uction.jpg') My URL contains 4 parts - |
Yarl normalizes URL by quoting all not allowed characters and unquoting all allowed PCT-encoded sequences. |
Hi @asvetlov , I face the same issue, but in the |
Hi!
We ran into a problem when we were using yarl.
The problem happens on this line https://github.com/aio-libs/yarl/blob/master/yarl/__init__.py#L170
Before L170 was executed
val[2]
was/container1/%3B.txt
while after L170
path
is/container1/;.txt
So it looks like L170 auto-decoded the encoded path.... How can we send out a request without decode the url?
Your help will be appreciated!
The text was updated successfully, but these errors were encountered: