Bug #78953 [NEW]: filter.default directive not working. Always is set to unsafe_raw
| From: | drtechno at mail dot com | Date: | Thu, 12 Dec 2019 11:56:35 +0000 |
| Subject: | Bug #78953 [NEW]: filter.default directive not working. Always is set to unsafe_raw | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-224231@lists.php.net to get a copy of this message | ||
From: drtechno at mail dot com
Operating system: Ubuntu 18.04LTS
PHP version: 7.3.12
Package: PHP options/info functions
Bug Type: Bug
Bug description:filter.default directive not working. Always is set to unsafe_raw
Description:
------------
In this distribution of php, it appears that the default.filter can not
be assigned full_special_chars
Test script:
---------------
<?php
if(ini_get('filter.default')!=='full_special_chars'||ini_get('filter.default_flags')!=='0')
$ff=ini_get('filter.default');
echo $ff."_Filter! should be full_special_chars Error:";
die('Missing and/or incorrect filter.default and/or
filter.default_flags directives in php.ini');
if (isset($_GET["name"])){
Attached in the Patch upload is my php.ini file (that the filter doesn't
work)
Expected result:
----------------
The script on the php would execute normally.
Actual result:
--------------
unsafe_raw_Filter! should be full_special_chars Error:Missing and/or
incorrect filter.default and/or filter.default_flags directives in
php.ini
--
Edit bug report at https://bugs.php.net/bug.php?id=78953&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=78953&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=78953&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=78953&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=78953&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=78953&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=78953&r=support
Expected behavior: https://bugs.php.net/fix.php?id=78953&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=78953&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=78953&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=78953&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=78953&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=78953&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=78953&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=78953&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=78953&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=78953&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=78953&r=mysqlcfg