Leak of NSMutableURLRequest in -[WebCoreResourceHandleAsOperationQueueDelegate connection:willSendRequest:redirectResponse:]: + if (equalLettersIgnoringASCIICase(m_handle->firstRequest().httpMethod(), "post") && !m_handle->firstRequest().hasHTTPHeaderField(HTTPHeaderName::ContentType)) { + NSMutableURLRequest *modifiedRequest = [newRequest mutableCopy]; + [modifiedRequest setValue:nil forHTTPHeaderField:@"Content-Type"]; + return modifiedRequest; // LEAK: This variable needs to be autoreleased. + } Regressed with: Bug 211999: XMLHTTPRequest.send should not send Content-Type headers when Blob has no type <https://bugs.webkit.org/show_bug.cgi?id=211999> <https://trac.webkit.org/r262776>
<rdar://problem/64853619>
Created attachment 402980 [details] Patch v1
Committed r263653: <https://trac.webkit.org/changeset/263653> All reviewed patches have been landed. Closing bug and clearing flags on attachment 402980 [details].