Bug 96260 - [GTK] Sanitize the suggested filename when building the download destination URI
Summary: [GTK] Sanitize the suggested filename when building the download destination URI
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords: Gtk
Depends on:
Blocks:
 
Reported: 2012-09-10 05:06 PDT by Carlos Garcia Campos
Modified: 2012-09-10 06:06 PDT (History)
4 users (show)

See Also:


Attachments
Patch (1.86 KB, patch)
2012-09-10 05:10 PDT, Carlos Garcia Campos
gns: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Carlos Garcia Campos 2012-09-10 05:06:38 PDT
The suggested filename returned by the server can contain directory separators
Comment 1 Carlos Garcia Campos 2012-09-10 05:10:18 PDT
Created attachment 163094 [details]
Patch
Comment 2 WebKit Review Bot 2012-09-10 05:15:00 PDT
Thanks for the patch. If this patch contains new public API please make sure it follows the guidelines for new WebKit2 GTK+ API. See http://trac.webkit.org/wiki/WebKitGTK/AddingNewWebKit2API
Comment 3 Gustavo Noronha (kov) 2012-09-10 05:23:54 PDT
Comment on attachment 163094 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=163094&action=review

> Source/WebKit2/ChangeLog:9
> +        directory separators so that thje filename would be interpreted as

thje
Comment 4 Carlos Garcia Campos 2012-09-10 06:06:15 PDT
Committed r128050: <http://trac.webkit.org/changeset/128050>