PHP 4.0 Bug #9867 Updated: Forms with enctype="multipart/form-data" add "\r\n" to the variables

From: Date: Tue, 20 Mar 2001 13:28:49 +0000
Subject: PHP 4.0 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-49492@lists.php.net to get a copy of this message
ID: 9867 Updated by: sniper Reported By: alsanche@qarana.com Old-Status: Open Status: Feedback Bug Type: Unknown/Other Function Assigned To: Comments: 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 Previous Comments: --------------------------------------------------------------------------- [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

« previous php.dev (#49492) next »