Hello, guest. We have noticed that you are not registered at this bug tracker. Your experience will be greatly enhanced if you log in. To do so, you first must register by clicking on the Register tab at the top. If you are already registered, you can login at the Login tab.
Syndicate Syndicate Listing Display Search Login/Register
Bug Id ?
207
Reporter ?
hobodave
MacGDBp / 1.3.1
Status ?
Closed
Severity ?
Major
Duplicate Of ?
- none -
Fixed in Revision ?
Mstone ?
Summary ?
Does not handle multi-packet POST data
Report Time ?
October 13, 2010 05:27 PM
Assignment ?
Resolution ?
Fixed
Priority ?
Normal
Dependencies ?
- none -
Mstone (old) ?


Votes
For: 0 (0%)
Against: 0 (0%)
Total: 0

October 13, 2010 05:27 PM hobodave
When HTTP POST data does not fit into a single TCP packet (1448 bytes) the POST data in subsequent packets is not shown in $_POST in MacGDBp.

This can be demonstrated with the following sample:


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8"/>
<title>Title</title>

</head>
<body id="body">
<form action="#" method="post" accept-charset="utf-8" id="myform">
<?php for ($i=0;$i<100;$i++): ?>
<label for="form-data-<?php echo $i ?>"><?php echo "Data $i" ?></label>
<input type="text" name="form[data::<?php echo $i ?>]" value="<?php echo $_POST['form']["data::$i"] ?>" id="form-data-<?php echo $i ?>"/>
<?php endfor?>

<p><input type="submit" value="Submit →"/></p>
</form>
<?php var_dump($_POST) ?>
</body>
</html>

September 11, 2019 05:01 AM Robert
This is resolved in 2.0.

On September 11, 2019 05:01 AM, Robert changed: