Bug 119391

Summary: XMLHttpRequest incorrectly POSTs UTF-8 stream
Product: [Applications] konqueror Reporter: Jiri Kaderavek <jiri.kaderavek>
Component: khtmlAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Testcase, UTF-8 encoded

Description Jiri Kaderavek 2006-01-02 14:26:55 UTC
Version:            (using KDE KDE 3.5.0)
Installed from:    Debian testing/unstable Packages
OS:                Linux

Testcase attached. Desc: you've got an input field with some UTF-8 characters. You will scan it's value and POST it through XMLHttpRequest to server. Server will print POST data to logfile. Received data have incorrect byte-length according to original UTF-8 string. See attachment. There is a value of '01234567á9' but on server side we will get '01234657ĂĄ', not correctly '01234657ĂĄ9'.
Comment 1 Jiri Kaderavek 2006-01-02 14:28:02 UTC
Created attachment 14108 [details]
Testcase, UTF-8 encoded
Comment 2 Jiri Kaderavek 2006-08-08 11:29:28 UTC
Duplicated bug #131242
Comment 3 Christian Schupfner 2006-08-10 10:30:57 UTC
For every character which is encoded in UTF-8, the size of the POST will be reduced by 1.
This problem didn't occur in version 3.3.2.
Comment 4 Jiri Kaderavek 2006-10-26 10:57:45 UTC
This is a duplication of resolved bug #131242