[Webkit-unassigned] [Bug 15119] Non-UTF-8 query parameters not handled properly when not generated by the form code

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 30 13:37:11 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=15119





------- Comment #1 from marv.decker at gmail.com  2007-08-30 13:37 PDT -------
Created an attachment (id=16166)
 --> (http://bugs.webkit.org/attachment.cgi?id=16166&action=view)
Test case

Here is an example that illustrates this problem. The page is in Big5, and
script generates a URL that is not encodable in Big5.

Firefox, IE, and Safari all generate a query in the encoding of the page when
possible. (In this case, you will see gibberish in the Google result page since
Google expects UTF-8.)

When the character is not representable, Firefox falls back on UTF-8, which
amusingly gives the "correct" answer for Google. IE and Safari both substitute
a literal question mark for the invalid character.

The only right thing to do in this case would be to use the same logic as the
form code does when you paste the character into a form field on such a page
and submit it.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list