This repository has been archived by the owner on Jun 16, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Qt] Correct extensions on preferredFilename
https://bugs.webkit.org/show_bug.cgi?id=103054 Reviewed by Simon Hausmann. When guessing a filename we will now ensure it has an extension that is valid for its mimetype. To do this the two missing methods getExtensionsForMIMEType and getPreferredExtensionForMIMEType have been added to the Qt implementation of MIMETypeRegistry. * platform/network/qt/QNetworkReplyHandler.cpp: (WebCore::QNetworkReplyHandler::sendResponseIfNeeded): * platform/qt/MIMETypeRegistryQt.cpp: (WebCore::MIMETypeRegistry::getExtensionsForMIMEType): (WebCore::MIMETypeRegistry::getPreferredExtensionForMIMEType): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@135511 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
1 parent
9c670fb
commit f378aab
Showing
3 changed files
with
55 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,20 @@ | ||
2012-11-22 Allan Sandfeld Jensen <[email protected]> | ||
|
||
[Qt] Correct extensions on preferredFilename | ||
https://bugs.webkit.org/show_bug.cgi?id=103054 | ||
|
||
Reviewed by Simon Hausmann. | ||
|
||
When guessing a filename we will now ensure it has an extension that is valid for its mimetype. | ||
To do this the two missing methods getExtensionsForMIMEType and getPreferredExtensionForMIMEType | ||
have been added to the Qt implementation of MIMETypeRegistry. | ||
|
||
* platform/network/qt/QNetworkReplyHandler.cpp: | ||
(WebCore::QNetworkReplyHandler::sendResponseIfNeeded): | ||
* platform/qt/MIMETypeRegistryQt.cpp: | ||
(WebCore::MIMETypeRegistry::getExtensionsForMIMEType): | ||
(WebCore::MIMETypeRegistry::getPreferredExtensionForMIMEType): | ||
|
||
2012-11-22 Kent Tamura <[email protected]> | ||
|
||
INPUT_MULTIPLE_FIELDS_UI: Refactoring: Do not call updateInnerTextValue if only read-only sub-fields have values | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters