[php-src] Issue #10460: allow_url_include warning must be consistent even with path with filters
| From: | mvorisek | Date: | Fri, 27 Jan 2023 00:20:45 +0000 |
| Subject: | [php-src] Issue #10460: allow_url_include warning must be consistent even with path with filters | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-243576@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/10460
Author: mvorisek
### Description
I found this while looking into https://github.com/php/php-src/issues/10453
<br>
The following code:
https://3v4l.org/hiiSr
<br>
Resulted in this output:
in the include with the same path but with filter, the warning does not mention
allow_url_include=0
<br>
But I expected this output instead:
2x Warning: include(): data:// wrapper is disabled in the server configuration by
allow_url_include=0 ... warning
### PHP Version
any
### Operating System
any