Closed Bug 145145 Opened 22 years ago Closed 17 years ago

newlines in form fields (embedded 
)

Categories

(Core :: DOM: HTML Parser, defect)

defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: Mark.Daniel, Unassigned)

References

()

Details

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0rc2)
Gecko/20020510
BuildID:    2002051006 (Win2k)   2002051122 (OpenVMS)

Inside a form field value, for example

  <input TYPE=hidden NAME=title VALUE="&#10;&#10; -LOGGING-&#10;">

I use embedded, encoded newlines to add layout to submitted form content.  This
has always worked in Navigator (and does with MSIE) but is not honoured in
Mozilla.  Bug or feature?

Reproducible: Always
Steps to Reproduce:
1.  See example URL
2.  View HTML source.
3.  Hit submit button.
4.  View results.
jk and i looked at this and looks like the parser is removing the LF's from the
hidden's value. (checked in the dom inspector)
Assignee: alexsavulov → harishd
Status: UNCONFIRMED → NEW
Component: Form Submission → Parser
Ever confirmed: true
QA Contact: vladimire → moied
Priority: -- → P4
Keywords: qawanted
Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.9a6pre) Gecko/20070606 Minefield/3.0a6pre

This WORKSFORME on both Mac and Linux trunk. The line feeds are shown in the CGI dump and are also present in the DOMi values.

->WORKSFORME
Assignee: harishd → nobody
Keywords: qawanted
Priority: P4 → --
QA Contact: moied → parser
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.