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

From: Date: Fri, 13 Dec 2019 13:05:58 +0000
Subject: Bug #78953 [Fbk->Asn]: 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-224271@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 User updated by: drtechno at mail dot com Reported by: drtechno at mail dot com Summary: filter.default directive not working. Always is set to unsafe_raw -Status: Feedback +Status: Assigned Type: Bug Package: PHP options/info functions Operating System: Ubuntu 18.04LTS PHP Version: 7.3.12 Assigned To: cmb Block user comment: N Private report: N New Comment: Installed from UBUNTU18.04 lts distribution channel on a new server. Upgraded versions seemed not effected (tested on an upgraded machine vs. this fresh install). I don't know if other debain versions are effected. Also, for a note, there is something wrong with phpmyadmin on the new computer's install too I haven't I identified, but it could be a bad compiling from PHP itself. Ubuntu is one of the common operating systems used on the web as the web server and is the popular replacement for IIS in the Azure community. Approximately 30% of the web servers are running Ubuntu. Previous Comments: ------------------------------------------------------------------------ [2019-12-12 13:50:34] cmb@php.net 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? ------------------------------------------------------------------------ [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

« previous php.bugs (#224271) next »