Edit report at https://bugs.php.net/bug.php?id=65282&edit=1

 ID:                 65282
 Updated by:         ar...@php.net
 Reported by:        avp200681 at gmail dot com
 Summary:            Wrong value for FILTER_SANITIZE_FULL_SPECIAL_CHARS
-Status:             Open
+Status:             Closed
 Type:               Bug
 Package:            Filter related
 Operating System:   Windows/Linux
 PHP Version:        5.5.0
-Assigned To:        
+Assigned To:        arpad
 Block user comment: N
 Private report:     N

 New Comment:

The fix for this bug has been committed.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.




Previous Comments:
------------------------------------------------------------------------
[2013-07-17 22:15:57] avp200681 at gmail dot com

Description:
------------
Reproduced also in 5.4.17 and 5.3.27

Test script:
---------------
var_dump(FILTER_SANITIZE_SPECIAL_CHARS == FILTER_SANITIZE_FULL_SPECIAL_CHARS); 
echo filter_var('&', FILTER_SANITIZE_SPECIAL_CHARS), "\n";
echo filter_var('&', FILTER_SANITIZE_FULL_SPECIAL_CHARS), "\n";
echo filter_var('&', filter_id('full_special_chars'));

Expected result:
----------------
bool(false)
&
&
&

Actual result:
--------------
bool(true)
&
&
&


------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=65282&edit=1

Reply via email to