Bug #80773 [Opn->Fbk]: $_GET['hash'] removes end of long strings

From: Date: Fri, 19 Feb 2021 00:39:58 +0000
Subject: Bug #80773 [Opn->Fbk]: $_GET['hash'] removes end of long strings
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-232270@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=80773&edit=1

 ID:                 80773
 Updated by:         requinix@php.net
 Reported by:        tomaj46400 at bulkeye dot com
 Summary:            $_GET['hash'] removes end of long strings
-Status:             Open
+Status:             Feedback
 Type:               Bug
 Package:            URL related
 Operating System:   Irrelevant
 PHP Version:        8.0.2
 Block user comment: N
 Private report:     N

 New Comment:

Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves.

A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external
resources such as databases, etc. If the script requires a
database to demonstrate the issue, please make sure it creates
all necessary tables, stored procedures etc.

Please avoid embedding huge scripts into the report.

This is highly unlikely to be a bug in PHP. Keep looking.


Previous Comments:
------------------------------------------------------------------------
[2021-02-19 00:32:11] tomaj46400 at bulkeye dot com

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 this bug report at https://bugs.php.net/bug.php?id=80773&edit=1


Thread (3 messages)

« previous php.bugs (#232270) next »