[Webkit-unassigned] [Bug 97444] New: ASSERT in KURL::KURL() when url did not inlude path.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Sep 24 03:27:06 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=97444
Summary: ASSERT in KURL::KURL() when url did not inlude path.
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: Unspecified
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: Platform
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: yannick.poirier at inverto.tv
Construct a url : KURL(ParsedURLString, "http://www.example.com" );
KURL hits ASSERT(url == m_string) because KURL appends a slash at the end of m_string
It's reproducible with CURL ResourceHandleManager.cpp:
headerCallback(char* ptr, size_t size, size_t nmemb, void* data){
...
curl_easy_getinfo(h, CURLINFO_EFFECTIVE_URL, &hdr);
/* hdr might not contain a path */
d->m_response.setURL(KURL(ParsedURLString, hdr));
}
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list