RESOLVED FIXED Bug 117196
[curl] Headers should be parsed as utf8 if possible
https://bugs.webkit.org/show_bug.cgi?id=117196
Summary [curl] Headers should be parsed as utf8 if possible
Peter Gal
Reported 2013-06-04 07:31:37 PDT
When the server returns the header data for the curl backend it is passed to be converted as a latin1 string. This is not always good. For example there is a testcase which fails currently: http/tests/download/literal-utf-8.html. The solution would be to process the input headers as utf8 strings. This solution in the libsoup backend.
Attachments
proposed patch (1.42 KB, patch)
2013-06-04 07:33 PDT, Peter Gal
no flags
Peter Gal
Comment 1 2013-06-04 07:32:07 PDT
I mean: "This solution in the libsoup backend." -> This solution is also used in the libsoup backend.
Peter Gal
Comment 2 2013-06-04 07:33:11 PDT
Created attachment 203694 [details] proposed patch
Brent Fulgham
Comment 3 2013-06-04 20:36:58 PDT
Comment on attachment 203694 [details] proposed patch r=me
WebKit Commit Bot
Comment 4 2013-06-04 20:58:36 PDT
Comment on attachment 203694 [details] proposed patch Clearing flags on attachment: 203694 Committed r151195: <http://trac.webkit.org/changeset/151195>
WebKit Commit Bot
Comment 5 2013-06-04 20:58:38 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.