-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Cannot download urls with Cyrillic letters and https protocol. #949
Comments
This problem caused by https://hg.python.org/cpython/file/3.5/Lib/ssl.py#l381 |
requests use |
this is not aiohttp bug. please file python bug report. |
python3.4 uses |
We should use |
Hey, for now at we have created small monkey patch https://github.com/wikibusiness/idna_ssl Can You try is it helps for Your case? |
CPython fix: python/cpython#3010 |
Fixed in aiohttp 2.3.10 |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a [new issue] for related bugs. |
My script:
It fails with the following error:
Interestingly enough, string 'цфоут.мвд.рф' actually matches '*.xn--b1aew.xn--p1ai':
Same script with
requests
:Versions
What I think
I found similar question on SO, but setting
verify_ssl=False
looks like a pretty dangerous hack to me.The text was updated successfully, but these errors were encountered: