Open Bug 331572 Opened 19 years ago Updated 2 years ago

Line breaks submitted as &#10; instead of <LF>

Categories

(Core :: DOM: Core & HTML, defect)

PowerPC
macOS
defect

Tracking

()

UNCONFIRMED

People

(Reporter: eric5brewer, Unassigned)

References

Details

(Keywords: testcase)

Attachments

(2 files)

User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1 Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1 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 '&#10;' 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&#10;text&#10;with&#10;line&#10;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 &#10;
> 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.
Keywords: testcase
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...
Blocks: 241263
Assignee: form-submission → nobody
QA Contact: ian → form-submission
Component: HTML: Form Submission → DOM: Core & HTML
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: