From: j dot jeising at gmail dot com Operating system: * PHP version: 5.3.0 PHP Bug Type: Filter related Bug description: FILTER_VALIDATE_URL rejects urls with an umlaut in path
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 bug report at http://bugs.php.net/?id=48758&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=48758&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=48758&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=48758&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=48758&r=fixedcvs Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=48758&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=48758&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=48758&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=48758&r=needscript Try newer version: http://bugs.php.net/fix.php?id=48758&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=48758&r=support Expected behavior: http://bugs.php.net/fix.php?id=48758&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=48758&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=48758&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=48758&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=48758&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=48758&r=dst IIS Stability: http://bugs.php.net/fix.php?id=48758&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=48758&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=48758&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=48758&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=48758&r=mysqlcfg