|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-03-10 14:55 UTC] php at benjaminschulz dot com
[2008-03-17 20:53 UTC] jani@php.net
[2008-03-17 23:42 UTC] php at benjaminschulz dot com
[2008-07-11 09:16 UTC] arnaud dot lb at gmail dot com
[2008-07-11 19:37 UTC] php at benjaminschulz dot com
[2008-08-02 06:38 UTC] lbarnaud@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 03 22:00:01 2025 UTC |
Description: ------------ because filternames can contain slashes (convert.iconv.from-enc/to-enc) it should be possible to pass URL-encodet filternames to php://filter Reproduce code: --------------- <?php $str = 'php://filter/read=convert.iconv.ISO-8859-15%2FUTF-8/resource=data://text/plain,foobar'; ^ url encoded slash Expected result: ---------------- string(6) "foobar" Actual result: -------------- Warning: file_get_contents(): unable to create or locate filter "convert.iconv.ISO-8859-15%2FUTF-8" in /var/www/foo/a.php on line 34 Warning: file_get_contents(): Unable to create filter (convert.iconv.ISO-8859-15%2FUTF-8) in /var/www/foo/a.php on line 34