Bug #80773 [NEW]: $_GET['hash'] removes end of long strings
From: tomaj46400 at bulkeye dot com Date: Fri, 19 Feb 2021 00:32:11 +0000 Subject: Bug #80773 [NEW]: $_GET['hash'] removes end of long strings Groups: php.bugs Request: Send a blank email to php-bugs+get-232269@lists.php.net to get a copy of this message
From: tomaj46400 at bulkeye dot com Operating system: Irrelevant PHP version: 8.0.2 Package: URL related Bug Type: Bug Bug description:$_GET['hash'] removes end of long strings Description: ------------ 1) Goto http://test_script_URL/?hash=777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777z&bash=777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777z Observe that $_GET['hash'] gets set to '7777[and more 7s]' while $_GET['bash'] gets set to '7777[and more 7s]z' Test script: --------------- <?php echo 'HASH' . $_GET['hash']; echo '<br>'; echo 'BASH' . $_GET['bash']; ?> -- Edit bug report at https://bugs.php.net/bug.php?id=80773&edit=1 -- Fix committed: https://bugs.php.net/fix.php?id=80773&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=80773&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=80773&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=80773&r=needscript Try newer version: https://bugs.php.net/fix.php?id=80773&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=80773&r=support Expected behavior: https://bugs.php.net/fix.php?id=80773&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=80773&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=80773&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=80773&r=globals PHP version support discontinued: https://bugs.php.net/fix.php?id=80773&r=phptooold Daylight Savings: https://bugs.php.net/fix.php?id=80773&r=dst IIS Stability: https://bugs.php.net/fix.php?id=80773&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=80773&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=80773&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=80773&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=80773&r=mysqlcfg
Thread (3 messages)
| « previous | php.bugs (#232269) | next » |
|---|