Open Bug 331572 Opened 15 years ago Updated 2 years ago
Line breaks submitted as instead of <LF>
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:220.127.116.11) Gecko/20060111 Firefox/18.104.22.168 Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:22.214.171.124) Gecko/20060111 Firefox/126.96.36.199 If a page is encoded in non-Western charset and the form is submitted with method="post" enctype="multipart/form-data", the line breaks in text areas are being submitted as ' ' instead of '<LF>'. Reproducible: Always Steps to Reproduce: 1. Open the attached HTML file. Press Submit button. 2. Save the returned page as a plain text file (compare with the attached text file). 3. Open the text file in a text editor. Actual Results: Notice the line: Enter text with line breaks Expected Results: This line should have looked like: Enter text with line breaks This bug makes Firefox unusable for foreign language web-based mail services.
Open the file and press "Submit"
Line breaks have been replaced with
> 2. Save the returned page as a plain text file (compare with the attached text > file). Sorry, actually the returned page should be saved as Web Page HTML Only. Then open it as plain text.
Related to Suite bug 241263?
> Related to Suite bug 241263? Looks similar to me, although they could not make it reproducible for some reason. I guess the problem occurs whenever the page is set to non-Western encoding.
Is this still a problem with current trunk builds? I can't seem to reproduce on Linux, but maybe this is Mac-only...
Assignee: form-submission → nobody
QA Contact: ian → form-submission
Component: HTML: Form Submission → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.