Closed
Bug 125217
Opened 23 years ago
Closed 23 years ago
hidden form input fields cannot contain linefeeds at the end
Categories
(Core :: Layout: Form Controls, defect)
Tracking
()
VERIFIED
DUPLICATE
of bug 114997
People
(Reporter: rich, Assigned: john)
References
()
Details
(Whiteboard: [DUPEME])
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.7) Gecko/20020203
BuildID: 0.9.7
A form <input> field with type set to "hidden" should be able to
contain linefeed characters in the value. These appear to work
in the middle of the value, but if they are present at the end
of the value, then they are removed from the end of the field.
I have tried several variations, including turning the literal
CR & LF characters into HTML character entities and but
they are still truncated when they appear at the end.
Reproducible: Always
Steps to Reproduce:
1. Visit the demonstration URL (http://annexia.org/tmp/linefeed-tag.html)
2. Click the Submit Query button.
3. Examine the URL in the location bar.
Actual Results: The URL ends with %3A (a colon character).
Expected Results: The URL should be followed by %0D%0A%0D%0A. It is probably
helpful to examine the source of the page to see what's going on.
Comment 1•23 years ago
|
||
NS4.79 produces:
http://annexia.org/tmp/linefeed-tag.html?arg=Two+line+feeds+follow+me%3A%0A%0ATw
o+line+feeds+follow+me+too%3A%0A%0A
2002020803 Win95 produces:
http://annexia.org/tmp/linefeed-tag.html?arg=Two+line+feeds+follow+me%3A%0D%0A%0
D%0ATwo+line+feeds+follow+me+too%3A
truncated
Comment 2•23 years ago
|
||
*perms in place*
N.B. NS4.79 read only &H0A where Moz properly read &H0D &H0A
Status: UNCONFIRMED → NEW
Ever confirmed: true
Updated•23 years ago
|
QA Contact: madhur → tpreston
--> jkeiser
Assignee: kin → jkeiser
Target Milestone: mozilla1.1alpha → ---
Assignee | ||
Comment 5•23 years ago
|
||
This is a dup of one of Harish's bugs. I can't remember what one right now though.
Whiteboard: [DUPEME]
Assignee | ||
Comment 6•23 years ago
|
||
*** This bug has been marked as a duplicate of 114997 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•