Bug #70108 [NEW]: sometimes empty $_SERVER['QUERY_STRING']

From: Date: Wed, 22 Jul 2015 07:07:48 +0000
Subject: Bug #70108 [NEW]: sometimes empty $_SERVER['QUERY_STRING']
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-194602@lists.php.net to get a copy of this message
From: bugzilla77 at gmail dot com Operating system: Win7 32/64 PHP version: 7.0.0beta1 Package: *General Issues Bug Type: Bug Bug description:sometimes empty $_SERVER['QUERY_STRING'] Description: ------------ Sometimes empty $_SERVER['QUERY_STRING'] Tested on four servers (32 or 64bit Windows 7). Apache 2.4.16 Win64 http://www.apachelounge.com/download/VC14/binaries/httpd-2.4.16-win64-VC14.zip Apache 2.4.16 Win32 http://www.apachelounge.com/download/VC14/binaries/httpd-2.4.16-win32-VC14.zip MS Visual C++ 2015 Redistributable 14.0.23026 https://go.microsoft.com/fwlink/?LinkId=615459 https://go.microsoft.com/fwlink/?LinkId=615460 PHP Thread Safe as Apache module. --- I discovered this problem because I use "get.php?_____" to get page images. PHP 7.0.0beta1 does not display all images on pages. --- If I replace PHP 7.0.0beta1 to PHP 5.6.11 the problem does not exists. Only PHP 7.0.0beta1. Test script: --------------- query.php --------- <?php print($_SERVER['QUERY_STRING']?:'NO QUERY_STRING'); ?> query.html ---------- <!DOCTYPE html> <html> <body> <div>Try F5 (reload). PHP 7.0.0 beta 1</div> <iframe style="width:500px;height:30px" src="query.php?01"></iframe><br/> <iframe style="width:500px;height:30px" src="query.php?02"></iframe><br/> <iframe style="width:500px;height:30px" src="query.php?03"></iframe><br/> <iframe style="width:500px;height:30px" src="query.php?04"></iframe><br/> <iframe style="width:500px;height:30px" src="query.php?05"></iframe><br/> <iframe style="width:500px;height:30px" src="query.php?06"></iframe><br/> <iframe style="width:500px;height:30px" src="query.php?07"></iframe><br/> <iframe style="width:500px;height:30px" src="query.php?08"></iframe><br/> <iframe style="width:500px;height:30px" src="query.php?09"></iframe><br/> <iframe style="width:500px;height:30px" src="query.php?10"></iframe><br/> <iframe style="width:500px;height:30px" src="query.php?11"></iframe><br/> <iframe style="width:500px;height:30px" src="query.php?12"></iframe><br/> <iframe style="width:500px;height:30px" src="query.php?13"></iframe><br/> <iframe style="width:500px;height:30px" src="query.php?14"></iframe><br/> <iframe style="width:500px;height:30px" src="query.php?15"></iframe><br/> <iframe style="width:500px;height:30px" src="query.php?16"></iframe><br/> </body> </html> Expected result: ---------------- digits in all lines Actual result: -------------- "NO QUERY_STRING" in some lines -- Edit bug report at https://bugs.php.net/bug.php?id=70108&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=70108&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=70108&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=70108&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=70108&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=70108&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=70108&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=70108&r=needscript Try newer version: https://bugs.php.net/fix.php?id=70108&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=70108&r=support Expected behavior: https://bugs.php.net/fix.php?id=70108&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=70108&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=70108&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=70108&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=70108&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=70108&r=dst IIS Stability: https://bugs.php.net/fix.php?id=70108&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=70108&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=70108&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=70108&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=70108&r=mysqlcfg

« previous php.bugs (#194602) next »