-
Notifications
You must be signed in to change notification settings - Fork 22
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
Failed test with curl build with --with-libpsl #26
Comments
I'll give that a try when I come around building a libcurl with libpsl support. |
From what I can tell, the latest public suffix list is this: https://github.com/publicsuffix/list/blob/master/public_suffix_list.dat and it doesn't contain "localhost" as far as I can see, so that explanation is puzzling to me. |
IIRC reading https://github.com/rockdaboot/libpsl/blob/master/src/psl.c#L790 Suffix without any dot (suffix.nlabels == 1) are considered as public... |
Yup.
So either curl's usage of psl is too naive, or one could consider it a bug, that psl treats everything being just a single label as TLD. |
I am not sure if it is already attached -- this is the minimal example I have tried:
I do not know libpsl enough to tell whether it is a bug or intended behavior. |
Yeah, I'm not sure, either. See rockdaboot/libpsl#48 |
Fixed in libcurl IIRC. |
Yes, this was fixed via: curl/curl@curl-7_47_1-103-gc140bd7 |
See https://apps.fedoraproject.org/koschei/package/php-pecl-http
Explan,ation from curl maintainer in Fedora:
The text was updated successfully, but these errors were encountered: