Bug 54986 - redhat supplied patch in php-3.0.18 rpm breaks form-data posts
redhat supplied patch in php-3.0.18 rpm breaks form-data posts
Status: CLOSED ERRATA
Product: Red Hat Linux
Classification: Retired
Component: php (Show other bugs)
6.2
All Linux
medium Severity medium
: ---
: ---
Assigned To: Phil Copeland
David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2001-10-23 19:06 EDT by Joe Pruett
Modified: 2007-04-18 12:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2001-12-07 19:00:18 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Joe Pruett 2001-10-23 19:06:12 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.77 [en] (X11; U; Linux 2.2.19-6.2.7.pptp.joey i586)

Description of problem:
php pages that try to use multipart/form-data encoding will end up with
crlf data prepended to all data values.  i noticed a redhat supplied patch
in the source rpm, so i removed that and recompiled and things worked just
fine.  the patch claims to be trying to fix problems with unquoted variable
names, but i haven't spent any time try to reproduce that problem.  so that
patch needs to be removed, or reworked.  i noticed another bug report about
php that just said that php didn't work anymore after the patches, so this
could be the problem they saw.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
<html>
<head>
<title>
foo
</title>
</head>
<body>
<?
        if ($foo != "") {
                echo "<pre>\n";
                for ($i = 0; $i < strlen($foo); $i++) {
                        echo ord(substr($foo, $i, 1)), "\n";
                }
                echo "</pre>";
        }
?>
<form enctype="multipart/form-data" method=post>
<input type=text name=foo length=40>
<input type=submit>
</form>
</body>
</html>


Additional info:
Comment 1 Phil Copeland 2002-08-06 13:58:34 EDT
There is a php errata that I've made thats in the works for the 7.x series and
AS2.1, I'll be making a 6.2 errata this week but I cannot give an estimate on
how long it will be in QA before release (the 7.x stuff has been in the QA queue
for 5 weeks already)..

Phil
=--=

Note You need to log in before you can comment on or make changes to this bug.