[Webkit-unassigned] [Bug 18277] New: incorrectly encoded form submission with utf-16
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Apr 2 06:20:27 PDT 2008
http://bugs.webkit.org/show_bug.cgi?id=18277
Summary: incorrectly encoded form submission with utf-16
Product: WebKit
Version: 526+ (Nightly build)
Platform: Other
OS/Version: Mac OS X 10.5
Status: NEW
Severity: Normal
Priority: P2
Component: Forms
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: hausmann at kde.org
CC: tavestbo at trolltech.com
The attached html file is encoded in utf-16. Loading it in Safari and pressing
the submit button produces a bad query.
Both parameters and values are truncated to one character.
We traced part of the problem down to fixLineBreaks in FormDataList.cpp, which
operates in this case on a utf-16 encoded CString and uses zero-termination for
determining the end of the string instead of using the length() property of the
CString.
This may solve the problem only partly, it could be that other code has the
same problem.
--
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