-
Notifications
You must be signed in to change notification settings - Fork 20
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
Infinite loop on some dates/times #92
Comments
Confirmed error for the following domains:
I am developing a branch to solve this problem. |
@kevinoo We are still experiencing this issue, do you still plan to solve it ? |
Hi @maxiwheat I have a solution ready, however I would like to test with more cases. The commit is in feature/kevinoo/Fr_Nz_Handler Thanks ❤️ |
Hi @kevinoo, thanks for taking the time to look at it 🙏 We have this issue with the domain free.fr Do you need a more complete sample of our code or only the domain is enough ? |
All I needed was the domain, thanks! 😄 I checked on the fly and I can confirm that the problem persists even with my fix, I'll try to correct it this week. 🙏 |
I just pushed a fix on https://github.com/ABouchard55/phpWhois , it seemed, in this case, to be a date parsing issue that didn't consider microseconds. |
Hi maxiwheat, You can download from packagist: kevinoo/phpwhois Have a nice day! |
@kevinoo thanks a lot for the fix. Helped me out! |
@e7o-de @maxiwheat @matthiastosch Dear all, I wanted to notify that I release the version v6.2.0 packagist: kevinoo/phpwhois. Include a lot of improvements 😄 Improvements
Deprecation
|
@kevinoo nice. I switched to your version 6.1. That fixed all the last issues - so I could remove my fixes in my application. Thanks again for your efforts |
@kevinoo thank you very much, now I can finally get rid of my fancy workarounds with pre-parsing via RegEx and direct instantiation ;) Oh, that was ugly ... |
The loop in whois.parser.php#L910 runs infinitely for values like
A
print_r($res);
just before the while shows this in my case:The text was updated successfully, but these errors were encountered: