From:             remoteshaman dot com at gmail dot com
Operating system: CentOS
PHP version:      5.3.26
Package:          Scripting Engine problem
Bug Type:         Bug
Bug description:Bug: ampersand "&" not removed completely "amp;" in query 
string!

Description:
------------
Bug: ampersand "&" not removed completely "amp;" in query string!


Test script:
---------------
<?php
// If insert in broser string
"?f=c3c0e998b57b4a2b8046f12a89dfff49-cache-plg_jch_optimize-e9898cc42c78127028aba1dab284f305&amp;type=js&amp;d=30"
and print_r($_REQUEST) we get this result:

// Array
// (
    // [f] =>
2041e3cc488db092b567b7fa14ea5c66-cache-plg_jch_optimize-35c9937b8d9d493d64405d18f2d6f5aa
    // [amp;type] => js
    // [amp;d] => 30
// )

// Bug: ampersand "&amp;" not removed completely "amp;"!

// or this a feature?:))



-- 
Edit bug report at https://bugs.php.net/bug.php?id=65190&edit=1
-- 
Try a snapshot (PHP 5.4):   
https://bugs.php.net/fix.php?id=65190&r=trysnapshot54
Try a snapshot (PHP 5.3):   
https://bugs.php.net/fix.php?id=65190&r=trysnapshot53
Try a snapshot (trunk):     
https://bugs.php.net/fix.php?id=65190&r=trysnapshottrunk
Fixed in SVN:               https://bugs.php.net/fix.php?id=65190&r=fixed
Fixed in release:           https://bugs.php.net/fix.php?id=65190&r=alreadyfixed
Need backtrace:             https://bugs.php.net/fix.php?id=65190&r=needtrace
Need Reproduce Script:      https://bugs.php.net/fix.php?id=65190&r=needscript
Try newer version:          https://bugs.php.net/fix.php?id=65190&r=oldversion
Not developer issue:        https://bugs.php.net/fix.php?id=65190&r=support
Expected behavior:          https://bugs.php.net/fix.php?id=65190&r=notwrong
Not enough info:            
https://bugs.php.net/fix.php?id=65190&r=notenoughinfo
Submitted twice:            
https://bugs.php.net/fix.php?id=65190&r=submittedtwice
register_globals:           https://bugs.php.net/fix.php?id=65190&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=65190&r=php4
Daylight Savings:           https://bugs.php.net/fix.php?id=65190&r=dst
IIS Stability:              https://bugs.php.net/fix.php?id=65190&r=isapi
Install GNU Sed:            https://bugs.php.net/fix.php?id=65190&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=65190&r=float
No Zend Extensions:         https://bugs.php.net/fix.php?id=65190&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=65190&r=mysqlcfg

Reply via email to