-
aroben@apple.com authored
All URL strings passed in to the WebKit API need to be passed to MarshallingHelpers::BSTRToKURL so that they may be properly parsed. Reviewed by Alexey Proskuryakov. * MarshallingHelpers.cpp: (MarshallingHelpers::BSTRToKURL): Changed to use the two-argument constructor for KURL so that the strings will be parsed rather than assumed to be in the correct encoding/form. * WebResource.cpp: (WebResource::initWithData): * WebURLResponse.cpp: (WebURLResponse::initWithURL): * WebView.cpp: (WebView::userAgentForURL): (WebView::copyURL): Changed to use MarshallingHelpers::BSTRToKURL instead of trying to do the work manually. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@40248 268f45cc-cd09-0410-ab3c-d52691b4dbfc
b5f26d5d