Bug #9867 Updated: Forms with enctype="multipart/form-data" add "\r\n" to the variables
| From: | sniper@php.net | Date: | Thu, 19 Apr 2001 13:38:56 +0000 |
| Subject: | Bug #9867 Updated: Forms with enctype="multipart/form-data" add "\r\n" to the variables | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-51970@lists.php.net to get a copy of this message | ||
ID: 9867
Updated by: sniper
Reported By: alsanche@qarana.com
Old-Status: Feedback
Status: Closed
Bug Type: Unknown/Other Function
PHP Version: 4.0.4pl1
Assigned To:
Comments:
No feedback. Reopen this bug report if problem still exists
with soon to be release PHP 4.0.5.
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2001-03-20 08:28:48] sniper@php.net
Wild guess: You're using the RPMs from RedHat?
Please try with the latest CVS snapshot from http://snaps.php.net/ as I can't reproduce this.
--Jani
---------------------------------------------------------------------------
[2001-03-20 08:02:42] alsanche@qarana.com
Details:
When retrieving the value of a variable coming from a form, if
the form had enctype="multipart/form-data", "rn" is added at
the beginning of the variable.
SCRIPT:
<html><head></head><body>
<? if ($t1!="") {
echo ("BEFORE->".$t1."<-AFTER<br>");
echo ("BEFORE->".$t2."<-AFTER<br>");
}
<form action="<%=$PHP_SELF%>" method="POST"
enctype="multipart/form-data">
<input type="hidden" name="t1" value="AA">
<input type="text" name="t2" value="BB">
<input type="submit">
</form>
</body></html>
Modules:
php-pgsql4.0.4pl1-3
php-ldap4.0.4pl1-3
Apache 1.3.12-25
php.ini
(not available at this moment)
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9867&edit=2