|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8995 Linebreakes is added to form input
Submitted: 2001-01-30 06:26 UTC Modified: 2001-03-03 15:50 UTC
From: affe at kiruna dot se Assigned:
Status: Closed Package: Filesystem function related
PHP Version: 4.0.4pl1 OS: RedHat Linux 7.0
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
9 + 43 = ?
Subscribe to this entry?

 [2001-01-30 06:26 UTC] affe at kiruna dot se
In PHP 4.0.4pl1 form input started to behave strange. The problem is simular to Bug 8940 but also includes other problems.

It seems that it affects every form with encryptiontype set to "multipart/form-data".

Besides that the mimetype is bundled with the uploaded file (as explained in bug report 8940) every other field is affected.

Data from every other field in the form starts with a linebreak char, except for formobjects of type textarea. Textarea form fields starts with double linebreak chars.

Forms where a encryptiontype is unset are not affected.

It also looks like some kind of files (like tgz-compressed files) are affected otherwise, but I still don't know what the difference is or if there are any other file types that are affected simular to tgz-compressed files.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-03-03 15:50 UTC]
I had the same problem, and it's fixed in CVS. It seems like the one bug was causing all the file-upload problems
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Mon Dec 11 16:01:28 2023 UTC