-
Notifications
You must be signed in to change notification settings - Fork 12
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
Single-label domain is stripped from URL #22
Comments
The error appears be a mistaken assumption in the library, rather than an accidental bug: https://github.com/auraphp/Aura.Uri/blob/develop/src/Aura/Uri/Host.php |
if you have a fix for it. pull request welcome :) . Hari K T You can ring me : +91 9388 75 8821 http://harikt.com , https://github.com/auraphp , Skype : kthari85 On Wed, May 7, 2014 at 6:08 PM, James Harrison Fisher <
|
@harikt @jameshfisher This is related to php-domain-parser. I'll take a look and see what I can't work out. Thanks for the report, @jameshfisher. |
Thank you @jeremykendall for the heads up. |
This is fixed in php-domain-parser. I owe you guys an integration ASAP. I'll submit a PR as soon as I can. |
@jeremykendall are you working on this ? |
@harikt Yes, I am. |
@jeremykendall I am wondering what timezone are you. Is it morning or you didn't slept ? |
@harikt I'm GMT -5:00. I'm not sleeping well lately :-/ |
ok, not too late I assume ;) . Around 10:30 PM. |
@harikt No, you did the math wrong. We were chatting around 04:30 Central Daylight Time. I'm pretty pooped. |
@harikt && @pmjones: Would you guys be willing to look over this php-domain-parser pull request: jeremykendall/php-domain-parser#23? It's a good idea of the changes I'll have to make here in order to resolve this issue. I'm also planning to add support for ftp protocol (see jeremykendall/php-domain-parser@6a8765f) and "schemeless" URLs (see: https://github.com/jeremykendall/php-domain-parser/blob/ec7866a625cacae846e60e905adfb9f0f3b6b9ef/library/Pdp/Uri/Url.php#L108). If any of the changes mentioned are cause for concern or you don't want them, speak now (soon-ish) or forever hold your peace and merge my PRs 😄 |
@jeremykendall I am not the authority. You should ping @pmjones . |
and I am not against adding a support 👍 . And by the way you are a member of aura. Why is it not showing on your profile ? |
@jeremykendall I see nothing obviously problematic with jeremykendall/php-domain-parser#23 . The main issue is, will it be a BC break? |
@pmjones No, no BC break. I had to touch the interface for |
Ehhxcellent. Make the PR at your convenience, then. |
Test case:
Expected output:
Actual output:
Version 1.1.1 of Aura.Uri.
The text was updated successfully, but these errors were encountered: