Skip to content
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

Core dump #41

Closed
asvetlov opened this issue Dec 19, 2016 · 2 comments
Closed

Core dump #41

asvetlov opened this issue Dec 19, 2016 · 2 comments

Comments

@asvetlov
Copy link
Member

yarl.URL('j\x1a\udcf4q\udcda/\udc97g\udcee\udccb\x0ch\udccb\x18\udce4v\x1b\udce2\udcce\udccecom/y\udccepj\x16')

@ivan-is
Copy link

ivan-is commented Jan 11, 2017

the same with

>>> from yarl import URL
>>> u = '\udcae+\udcb2\udcael\udce8'
>>> URL(u)
Segmentation fault (core dumped)

unfortunately need to switch to aiohttp==1.0.5

i'm not sure is this a bug, anyway:

>>> URL('http://detek1.zs9.ru/wrn.php?%/jhjaiaf5')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/ivan/.virtualenvs/35/lib/python3.5/site-packages/yarl/__init__.py", line 187, in __init__
    protected='=+&', qs=True),
  File "yarl/_quoting.pyx", line 47, in yarl._quoting._quote (yarl/_quoting.c:1490)
  File "yarl/_quoting.pyx", line 76, in yarl._quoting._do_quote (yarl/_quoting.c:1837)
ValueError: Unallowed PCT %/j

this url looks like valid url

@fafhrd91
Copy link
Member

fafhrd91 commented Jan 26, 2017

>>> URL('https://www.facebook.com/Turnerschaft-im-CC-Ghibellinia-zu-M\udcfcnchen-209651599076993')
Segmentation fault: 11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants