application/x-www-form-urlencoded content type is encoded improperly.




10 years ago
8 years ago


(Reporter: chertov.developer, Unassigned)


Firefox Tracking Flags

(Not tracked)


(Whiteboard: [CLOSEME 2010-11-01], URL)


(1 attachment)



10 years ago
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/2008121300 SUSE/3.0.5-1.1 Firefox/3.0.5
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv: Gecko/2009021910 Firefox/3.0.7

Due to rfc1738 "Uniform Resource Locators (URL)" paragraph 2.2 (

"octets may be encoded by a character triplet consisting of the character "%" followed by the two hexadecimal digits (from "0123456789ABCDEF") which forming the hexadecimal value of the octet. (The characters "abcdef" may also be used in hexadecimal encodings.)"

Firefox brakes this rule by omitting character "0" previous to symbol from "123456789ABCDEF". Here is an example of urlencoded content produces by Firefox:


Mind %A which occurs twice.

Reproducible: Always

Steps to Reproduce:
1. Log in to account.
2. Go to inbox folder and open unread mail message.
3. Intercept http request and try to parse it.
Actual Results: crushes with IllegalArgumentException and message:

'Illegal hex characters in escape (%) pattern - For input string: "A%"'

Expected Results:  
Same steps performed with Internet Explorer didn't cause any exception. Http request was parsed successfully.

Intercepted HTTP request is attached.

Comment 1

10 years ago
Created attachment 366843 [details]
Intecepted HTTP request
This is a mass search for bugs which are in the Firefox General component, are
UNCO, have not been changed for 500 days and have an unspecified version. 

Reporter, can you please update to Firefox 3.6.10 or later, create a fresh profile,, and test again. If you still see the issue, please update this bug. If the issue is gone, please set the status to RESOLVED > WORKSFORME.
Whiteboard: [CLOSEME 2010-11-01]
No reply from reporter, INCOMPLETE. Please retest with Firefox 3.6.12 or later and a new profile ( If you continue to see this issue with the newest firefox and a new profile, then please comment on this bug.
Last Resolved: 8 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.