Bug #65190 [Opn->Nab]: Bug: ampersand "&" not removed completely "amp;" in query string!

From: Date: Wed, 03 Jul 2013 07:51:21 +0000
Subject: Bug #65190 [Opn->Nab]: Bug: ampersand "&" not removed completely "amp;" in query string!
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-180027@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=65190&edit=1 ID: 65190 Updated by: rasmus@php.net Reported by: remoteshaman dot com at gmail dot com Summary: Bug: ampersand "&amp;" not removed completely "amp;" in query string! -Status: Open +Status: Not a bug Type: Bug Package: Scripting Engine problem Operating System: CentOS PHP Version: 5.3.26 Block user comment: N Private report: N New Comment: The default arg_seperator is just & You can set it to &amp; in your ini if you like. Previous Comments: ------------------------------------------------------------------------ [2013-07-03 07:24:46] remoteshaman dot com at gmail dot com Description: ------------ Bug: ampersand "&amp;" 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 this bug report at https://bugs.php.net/bug.php?id=65190&edit=1

« previous php.bugs (#180027) next »