User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:188.8.131.52) Gecko/20080311 Firefox/184.108.40.206 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:220.127.116.11) Gecko/20080311 Firefox/18.104.22.168 When sending form data through post or get the tab character, ascii code 9, is only sent when enclosed between other characters. In an html select with <option value=" ">Tab</option> the value is left empty upon submitting. The query string (using a get) should be: name=value but is in reality name= Reproducible: Always Steps to Reproduce: 1.Put source code, see: Additional Information, into html file 2.Open this file 3.Select an option and click submit 4.Check the query string, it has the form separator=value Actual Results: tab => (nothing) (tab => %28 tab) => %29 (tab) => %28%09%29 (the correct value) Expected Results: tab => %09 (tab => %28%09 tab) => %09%29 (tab) => %28%09%29 Source code: <html> <head> <title>Tab char test</title> </head> <body> <form name="frm" action="" method="get"> <select name="separator"> <option value=",">Comma</option> <option value=";">Semicolon</option> <option value="|">Pipe</option> <option value=" ">Space</option> <option value=" ">Tab</option> <option value="( ">(Tab</option> <option value=" )">Tab)</option> <option value="( )">(Tab)</option> </select> <br> <input type="submit"> </form> </body> </html>
This bug was reported on Firefox 2.x or older, which is no longer supported and will not be receiving any more updates. I strongly suggest that you update to Firefox 3.6.3 or later, update your plugins (flash, adobe, etc.), and retest in a new profile. If you still see the issue with the updated Firefox, please post here. Otherwise, please close as RESOLVED > WORKSFORME http://www.mozilla.com http://support.mozilla.com/kb/Managing+profiles http://support.mozilla.com/kb/Safe+mode
In FF 3.6.3 sending a tab results in ++++ being sent, i.e. 4 spaces instead of a tab (%09), not exactly the same!
Version: 2.0 Branch → 3.6 Branch
This bug is still present on FF 3.6.10 (OSX). When inspecting the select-element with firebug the tab is missing from the attribute. It seems to me as the tab-character is ignored when reading attribute-values of option-tags when it is in the beginning or the end. The same thing happens with newlines.
Reporter, can you still reproduce using a current version? If no, please set status to RESOLVED and resolution to WORKSFORME. If yes, please provide updated information.
Whiteboard: [closeme 2013-07-25][FF3.x]
Resolved per whiteboard
Status: UNCONFIRMED → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → INCOMPLETE
Whiteboard: [closeme 2013-07-25][FF3.x] → [FF3.x]
Component: General → DOM: Core & HTML
Product: Firefox → Core
Version: 3.6 Branch → 1.9.2 Branch
My current version of Firefox is 23.0.1 The tab character is now sent in the URL (GET) as %09 as it should be. I consider the problem therefore completely solved.
You need to log in before you can comment on or make changes to this bug.