Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 85406

Summary: Double submitting arrays using POST with forms
Product: [Retired] Red Hat Linux Reporter: Tom <bettlertho>
Component: httpdAssignee: Joe Orton <jorton>
Status: CLOSED DUPLICATE QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-02-21 18:52:03 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Tom 2003-03-01 09:22:09 UTC
From Bugzilla Helper: 
User-Agent: Mozilla/4.0 
 
Description of problem: 
Array from html forms are twice submitted using POST method 
 
Version-Release number of selected component (if applicable): 
2.0.40-11 
Maybe the bug might be fixed in a newer version, but there is no newer rpm available... 
 
 
How reproducible: 
Always 
 
Steps to Reproduce: 
 
submit a form with array, e.g. 
<form action=phpinfo.php method=post> 
<input name=test[] value=123> 
<input name=test[] value=456> 
 
 
 
Actual Results:  $_POST["test"] = array ( 
 
  [0] = 123 
  [1] = 456 
  [2] = 123 
  [3] = 456 
) 
 
Expected Results:  $_POST["test"] = array ( 
 
  [0] = 123 
  [1] = 456 
) 
 
Additional info:

Comment 1 Joe Orton 2003-06-19 10:39:02 UTC
This can be solved by removing the AddType directive for .php.

*** This bug has been marked as a duplicate of 82967 ***

Comment 2 Red Hat Bugzilla 2006-02-21 18:52:03 UTC
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.