ID: 48758
Updated by: [email protected]
Reported By: j dot jeising at gmail dot com
-Status: Bogus
+Status: Open
Bug Type: Filter related
Operating System: *
PHP Version: 5.3.0
Previous Comments:
------------------------------------------------------------------------
[2009-07-01 20:15:29] j dot jeising at gmail dot com
Description:
------------
FILTER_VALIDATE_URL rejects URLs with umlauts in the path. Umlauts are
not allowed in the domain (object of #42353), but in the path, they are
(at least, everybody supports them).
Reproduce code:
---------------
$url = 'http://www.example.com/exämple';
var_dump(filter_var($url, FILTER_VALIDATE_URL));
Expected result:
----------------
string(30) "http://www.example.com/example"
Actual result:
--------------
bool(false)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=48758&edit=1
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.