| Index: Source/core/xml/XMLHttpRequest.cpp
|
| diff --git a/Source/core/xml/XMLHttpRequest.cpp b/Source/core/xml/XMLHttpRequest.cpp
|
| index f7438cb521b934216d745d5a403f4bfe8d6eb190..d00002b4b28e30e4c541a0e4a32b2d466fdb4d8e 100644
|
| --- a/Source/core/xml/XMLHttpRequest.cpp
|
| +++ b/Source/core/xml/XMLHttpRequest.cpp
|
| @@ -585,7 +585,7 @@ void XMLHttpRequest::send(Document* document, ExceptionState& es)
|
| String body = createMarkup(document);
|
|
|
| // FIXME: This should use value of document.inputEncoding to determine the encoding to use.
|
| - m_requestEntityBody = FormData::create(UTF8Encoding().normalizeAndEncode(body, WTF::EntitiesForUnencodables));
|
| + m_requestEntityBody = FormData::create(UTF8Encoding().encode(body, WTF::EntitiesForUnencodables));
|
| if (m_upload)
|
| m_requestEntityBody->setAlwaysStream(true);
|
| }
|
| @@ -607,7 +607,7 @@ void XMLHttpRequest::send(const String& body, ExceptionState& es)
|
| m_requestHeaders.set("Content-Type", contentType);
|
| }
|
|
|
| - m_requestEntityBody = FormData::create(UTF8Encoding().normalizeAndEncode(body, WTF::EntitiesForUnencodables));
|
| + m_requestEntityBody = FormData::create(UTF8Encoding().encode(body, WTF::EntitiesForUnencodables));
|
| if (m_upload)
|
| m_requestEntityBody->setAlwaysStream(true);
|
| }
|
|
|