- From: <bugzilla@jessica.w3.org>
- Date: Thu, 05 May 2011 12:29:37 +0000
- To: public-html@w3.org
http://www.w3.org/Bugs/Public/show_bug.cgi?id=12606 Summary: x-www-form-urlencoded encoding algorithm should normalize single CR and LF characters Product: HTML WG Version: unspecified Platform: PC OS/Version: Windows XP Status: NEW Severity: minor Priority: P2 Component: HTML5 spec (editor: Ian Hickson) AssignedTo: ian@hixie.ch ReportedBy: hallvord@opera.com QAContact: public-html-bugzilla@w3.org CC: mike@w3.org, public-html-wg-issue-tracking@w3.org, public-html@w3.org Created attachment 985 --> http://www.w3.org/Bugs/Public/attachment.cgi?id=985 demo with fields set to CR and LF, reports .value and on submit you'll see the encoded result in the URL field Browsers tend to normalize stray CR and LF characters to CRLF when submitting a form. The algorithm on http://www.whatwg.org/specs/web-apps/current-work/multipage/association-of-controls-and-forms.html#application/x-www-form-urlencoded-encoding-algorithm doesn't seem to special-case CR and LF at all, I believe this is required. This applies to both textarea and input type=hidden. -- Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
Received on Thursday, 5 May 2011 12:29:39 UTC