Bug 119391 - XMLHttpRequest incorrectly POSTs UTF-8 stream
Summary: XMLHttpRequest incorrectly POSTs UTF-8 stream
Status: RESOLVED WORKSFORME
Alias: None
Product: konqueror
Classification: Applications
Component: khtml (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-02 14:26 UTC by Jiri Kaderavek
Modified: 2006-10-26 10:57 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Testcase, UTF-8 encoded (987 bytes, text/plain)
2006-01-02 14:28 UTC, Jiri Kaderavek
Details

Note You need to log in before you can comment on or make changes to this bug.
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