Title: [128068] releases/WebKitGTK/webkit-1.10/Source/WebKit2
- Revision
- 128068
- Author
- [email protected]
- Date
- 2012-09-10 09:27:05 -0700 (Mon, 10 Sep 2012)
Log Message
Merge r128063 - [SOUP] Don't convert to UTF-8 the suggestedFilename passed to Download::decideDestinationWithSuggestedFilename()
https://bugs.webkit.org/show_bug.cgi?id=96261
Reviewed by Martin Robinson.
* WebProcess/Downloads/soup/DownloadSoup.cpp:
(WebKit::DownloadClient::didReceiveResponse):
Modified Paths
Diff
Modified: releases/WebKitGTK/webkit-1.10/Source/WebKit2/ChangeLog (128067 => 128068)
--- releases/WebKitGTK/webkit-1.10/Source/WebKit2/ChangeLog 2012-09-10 16:21:43 UTC (rev 128067)
+++ releases/WebKitGTK/webkit-1.10/Source/WebKit2/ChangeLog 2012-09-10 16:27:05 UTC (rev 128068)
@@ -1,5 +1,15 @@
2012-09-10 Carlos Garcia Campos <[email protected]>
+ [SOUP] Don't convert to UTF-8 the suggestedFilename passed to Download::decideDestinationWithSuggestedFilename()
+ https://bugs.webkit.org/show_bug.cgi?id=96261
+
+ Reviewed by Martin Robinson.
+
+ * WebProcess/Downloads/soup/DownloadSoup.cpp:
+ (WebKit::DownloadClient::didReceiveResponse):
+
+2012-09-10 Carlos Garcia Campos <[email protected]>
+
[GTK] Sanitize the suggested filename when building the download destination URI
https://bugs.webkit.org/show_bug.cgi?id=96260
Modified: releases/WebKitGTK/webkit-1.10/Source/WebKit2/WebProcess/Downloads/soup/DownloadSoup.cpp (128067 => 128068)
--- releases/WebKitGTK/webkit-1.10/Source/WebKit2/WebProcess/Downloads/soup/DownloadSoup.cpp 2012-09-10 16:21:43 UTC (rev 128067)
+++ releases/WebKitGTK/webkit-1.10/Source/WebKit2/WebProcess/Downloads/soup/DownloadSoup.cpp 2012-09-10 16:27:05 UTC (rev 128068)
@@ -76,7 +76,7 @@
}
bool overwrite;
- String destinationURI = m_download->decideDestinationWithSuggestedFilename(suggestedFilename.utf8().data(), overwrite);
+ String destinationURI = m_download->decideDestinationWithSuggestedFilename(suggestedFilename, overwrite);
if (destinationURI.isEmpty()) {
#if PLATFORM(GTK)
GOwnPtr<char> buffer(g_strdup_printf(_("Cannot determine destination URI for download with suggested filename %s"), suggestedFilename.utf8().data()));
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes