|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2013-07-03 07:24 UTC] remoteshaman dot com at gmail dot com
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&type=js&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 "&" not removed completely "amp;"!
// or this a feature?:))
Patchesremoteshaman.com (last revision 2013-07-03 07:26 UTC by remoteshaman dot com at gmail dot com)Pull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 09 06:00:01 2025 UTC |
this string "?f=c3c0e998b57b4a2b8046f12a89dfff49-cache-plg_jch_optimize-e9898cc42c78127028aba1dab284f305&type=js&d=30" get and print_r($_REQUEST) after set (php_flag arg_separator.input "&") in .htaccess ------------------------------ Array ( [f] => 2 [41e3cc488db] => [92b567b7fa14ea5c66-cache-plg_jch_optimize-] => [ab5] => [adafe538259f] => [d7936372397432&type] => css&d=3 ) ------------------------------ this string "?f=c3c0e998b57b4a2b8046f12a89dfff49-cache-plg_jch_optimize-e9898cc42c78127028aba1dab284f305&type=js&d=30" get and print_r($_REQUEST) after set (php_value arg_separator.input "&") in .htaccess ------------------------------ Array ( [f] => 2041e3cc488db092b567b7f [14e] => [5c66-c] => [che-] => [lg_jch_o] => [ti] => [ize-0] => [b50] => [d] => 30 [fe538259f0d7936372397432] => [ty] => [e] => css ) ------------------------------