Changeset 264154 in webkit
- Timestamp:
- Jul 9, 2020, 12:01:16 AM (6 years ago)
- Location:
- releases/WebKitGTK/webkit-2.28
- Files:
-
- 5 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/fast/dom/HTMLAnchorElement/anchor-file-blob-download-includes-backslash-expected.txt (modified) (1 diff)
-
LayoutTests/fast/dom/HTMLAnchorElement/anchor-file-blob-download-includes-backslash.html (modified) (1 diff)
-
Source/WebKit/ChangeLog (modified) (1 diff)
-
Source/WebKit/UIProcess/Downloads/DownloadProxy.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
releases/WebKitGTK/webkit-2.28/LayoutTests/ChangeLog
r264098 r264154 1 2020-03-19 Alex Christensen <achristensen@webkit.org> 2 3 Sanitize suggested download filename received from web process 4 https://bugs.webkit.org/show_bug.cgi?id=209300 5 <rdar://problem/59487723> 6 7 Reviewed by Chris Dumez. 8 9 * fast/dom/HTMLAnchorElement/anchor-file-blob-download-includes-backslash-expected.txt: 10 * fast/dom/HTMLAnchorElement/anchor-file-blob-download-includes-backslash.html: 11 1 12 2020-03-27 Simon Fraser <simon.fraser@apple.com> 2 13 -
releases/WebKitGTK/webkit-2.28/LayoutTests/fast/dom/HTMLAnchorElement/anchor-file-blob-download-includes-backslash-expected.txt
r213284 r264154 1 1 Download started. 2 Downloading URL with suggested filename "* \.png"2 Downloading URL with suggested filename "*.png" 3 3 Download completed. 4 The suggested filename above should be "* \.png" and the download should succeed.4 The suggested filename above should be "*.png" and the download should succeed. 5 5 6 6 File backed blob URL -
releases/WebKitGTK/webkit-2.28/LayoutTests/fast/dom/HTMLAnchorElement/anchor-file-blob-download-includes-backslash.html
r240530 r264154 13 13 </head> 14 14 <body> 15 <p>The suggested filename above should be "* \.png" and the download should succeed.</p>15 <p>The suggested filename above should be "*.png" and the download should succeed.</p> 16 16 <a id="blob-url" download="*\">File backed blob URL</a> 17 17 <script> -
releases/WebKitGTK/webkit-2.28/Source/WebKit/ChangeLog
r264091 r264154 1 2020-03-19 Alex Christensen <achristensen@webkit.org> 2 3 Sanitize suggested download filename received from web process 4 https://bugs.webkit.org/show_bug.cgi?id=209300 5 <rdar://problem/59487723> 6 7 Reviewed by Chris Dumez. 8 9 * UIProcess/Downloads/DownloadProxy.cpp: 10 (WebKit::DownloadProxy::decideDestinationWithSuggestedFilenameAsync): 11 1 12 2020-07-03 Michael Catanzaro <mcatanzaro@gnome.org> 2 13 -
releases/WebKitGTK/webkit-2.28/Source/WebKit/UIProcess/Downloads/DownloadProxy.cpp
r252274 r264154 39 39 #include "WebProtectionSpace.h" 40 40 #include <WebCore/MIMETypeRegistry.h> 41 #include <WebCore/ResourceResponseBase.h> 41 42 #include <wtf/FileSystem.h> 42 43 #include <wtf/text/CString.h> … … 185 186 return; 186 187 187 m_processPool->downloadClient().decideDestinationWithSuggestedFilename(*this, suggestedFilename, [this, protectedThis = makeRef(*this), downloadID = downloadID] (AllowOverwrite allowOverwrite, String destination) {188 m_processPool->downloadClient().decideDestinationWithSuggestedFilename(*this, ResourceResponseBase::sanitizeSuggestedFilename(suggestedFilename), [this, protectedThis = makeRef(*this), downloadID = downloadID] (AllowOverwrite allowOverwrite, String destination) { 188 189 SandboxExtension::Handle sandboxExtensionHandle; 189 190 if (!destination.isNull())
Note:
See TracChangeset
for help on using the changeset viewer.