Project

General

Profile

Actions

Bug #42015

closed

t3lib_div::isValidUrl does not accept some valid URLs

Added by Christoph Grafenauer about 12 years ago. Updated about 12 years ago.

Status:
Closed
Priority:
Should have
Category:
Backend API
Target version:
-
Start date:
2012-10-15
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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.

Actions #1

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?

Actions #2

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

Actions #3

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!

Actions #4

Updated by Steffen Gebert about 12 years ago

  • Status changed from New to Closed
  • Assignee set to Steffen Gebert
Actions

Also available in: Atom PDF