https://bugs.webkit.org/show_bug.cgi?id=181170
Reviewed by Alex Christensen.
No new tests. No change in behavior.
* platform/network/curl/CurlRequest.cpp:
(WebCore::CurlRequest::invokeDidReceiveResponseForFile):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@226466
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
2018-01-05 Don Olmstead <don.olmstead@sony.com>
+ [curl] Can't load file:// URL with a URL fragment identifier
+ https://bugs.webkit.org/show_bug.cgi?id=181170
+
+ Reviewed by Alex Christensen.
+
+ No new tests. No change in behavior.
+
+ * platform/network/curl/CurlRequest.cpp:
+ (WebCore::CurlRequest::invokeDidReceiveResponseForFile):
+
+2018-01-05 Don Olmstead <don.olmstead@sony.com>
+
TextCodec uses std::array but does not include it
https://bugs.webkit.org/show_bug.cgi?id=181340
m_response.statusCode = 200;
// Determine the MIME type based on the path.
- m_response.headers.append(String("Content-Type: " + MIMETypeRegistry::getMIMETypeForPath(m_response.url)));
+ m_response.headers.append(String("Content-Type: " + MIMETypeRegistry::getMIMETypeForPath(m_response.url.path())));
if (!m_isSyncRequest) {
// DidReceiveResponse must not be called immediately