Bug #42015
closedt3lib_div::isValidUrl does not accept some valid URLs
100%
Description
t3lib_div::isValidUrl() returns false for http://www.uni-klu.ac.at but this is an valid URL?
In that case, the PHP function "filter_var" does not accept any dashes in the URL.
Updated by Markus Klein about 12 years ago
So this is more a PHP bug than a TYPO3 bug?
What PHP version are you using?
Updated by Ingo Renner about 12 years ago
Hi Chrsitoph,
That sounds familiar.
Which OS and PHP version are you using? Are you using Ubuntu LTS 10.04 (Lucid) and PHP 5.3.2?
Then this is likely this issue:
https://bugs.php.net/bug.php?id=51192
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/651049
... we had quite some "fun" with that bug in EXT:solr.
This should help (apart from updating Ubuntu): https://launchpad.net/~olivier-dobberkau/+archive/php5-usn-1569-1
Updated by Christoph Grafenauer about 12 years ago
- % Done changed from 0 to 100
Hi Markus!
Hi Ingo!
Yes i´m using Ubuntu LTS 10.04 and PHP 5.3.2.
OK i see this is just a PHP bug so i´m going to contact my host provider to update to PHP 5.3.3 which resolves this issue.
Thank you for your help!
Updated by Steffen Gebert about 12 years ago
- Status changed from New to Closed
- Assignee set to Steffen Gebert