Changeset 151195 in webkit
- Timestamp:
- Jun 4, 2013 8:58:39 PM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r151193 r151195 1 2013-06-04 Peter Gal <galpeter@inf.u-szeged.hu> 2 3 [curl] Headers should be parsed as utf8 if possible 4 https://bugs.webkit.org/show_bug.cgi?id=117196 5 6 Reviewed by Brent Fulgham. 7 8 Testcase already present: http/tests/download/literal-utf-8.html 9 10 * platform/network/curl/ResourceHandleManager.cpp: 11 (WebCore::headerCallback): Parse the header as an utf8 string if possible. 12 1 13 2013-06-04 Oliver Hunt <oliver@apple.com> 2 14 -
trunk/Source/WebCore/platform/network/curl/ResourceHandleManager.cpp
r150964 r151195 258 258 ResourceHandleClient* client = d->client(); 259 259 260 String header (static_cast<const char*>(ptr), totalSize);260 String header = String::fromUTF8WithLatin1Fallback(static_cast<const char*>(ptr), totalSize); 261 261 262 262 /*
Note: See TracChangeset
for help on using the changeset viewer.