Bug #78953 [Opn->Fbk]: filter.default directive not working. Always is set to unsafe_raw

From: Date: Thu, 12 Dec 2019 13:50:34 +0000
Subject: Bug #78953 [Opn->Fbk]: filter.default directive not working. Always is set to unsafe_raw
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-224247@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=78953&edit=1

 ID:                 78953
 Updated by:         cmb@php.net
 Reported by:        drtechno at mail dot com
 Summary:            filter.default directive not working. Always is set
                     to unsafe_raw
-Status:             Open
+Status:             Feedback
 Type:               Bug
 Package:            PHP options/info functions
 Operating System:   Ubuntu 18.04LTS
 PHP Version:        7.3.12
-Assigned To:        
+Assigned To:        cmb
 Block user comment: N
 Private report:     N

 New Comment:

Works here (Windows/CLI) as expected.  Does this only happen with
some particular SAPI (e.g. PHP-FPM)?  If so, which one would that
be?


Previous Comments:
------------------------------------------------------------------------
[2019-12-12 11:56:35] drtechno at mail dot com

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 this bug report at https://bugs.php.net/bug.php?id=78953&edit=1


Thread (6 messages)

« previous php.bugs (#224247) next »