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
