WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
32247
[GTK] Doesn't respect Content-Disposition for downloads, and provides no way for apps to do that
https://bugs.webkit.org/show_bug.cgi?id=32247
Summary
[GTK] Doesn't respect Content-Disposition for downloads, and provides no way ...
Gustavo Noronha (kov)
Reported
2009-12-07 14:39:53 PST
Currently, when a server sends a response with Content-Disposition, we are not respecting it, and we give no means for the application to decided, during the mime type policy check, if it wants to perform a download based on that header. This is a rather severe problem for some users, because it makes us unable to work correctly when the 'Download' link in attachments webkit is able to render itself is clicked in GMail, for instance.
Attachments
proposed fix
(10.95 KB, patch)
2009-12-07 14:45 PST
,
Gustavo Noronha (kov)
xan.lopez
: review+
gustavo
: commit-queue-
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Gustavo Noronha (kov)
Comment 1
2009-12-07 14:45:23 PST
Created
attachment 44433
[details]
proposed fix
Gustavo Noronha (kov)
Comment 2
2009-12-07 14:45:41 PST
Xan? Jan? =)
WebKit Review Bot
Comment 3
2009-12-07 14:48:57 PST
Attachment 44433
[details]
did not pass style-queue: Failed to run "WebKitTools/Scripts/check-webkit-style" exit_code: 1 WebKit/gtk/tests/testwebframe.c:158: test_webkit_web_frame_response is incorrectly named. Don't use underscores in your identifier names. [readability/naming] [4] WebKit/gtk/tests/testwebframe.c:160: Declaration has space between * and variable name in WebKitWebFrame* frame [whitespace/declaration] [3] WebKit/gtk/tests/testwebframe.c:161: Declaration has space between * and variable name in WebKitNetworkResponse* response [whitespace/declaration] [3] WebKit/gtk/webkit/webkitwebframe.cpp:1158: webkit_web_frame_get_network_response is incorrectly named. Don't use underscores in your identifier names. [readability/naming] [4] WebKit/gtk/webkit/webkitwebframe.cpp:1162: Use 0 instead of NULL. [readability/null] [5] WebKit/gtk/webkit/webkitwebframe.cpp:1166: Use 0 instead of NULL. [readability/null] [5] WebKit/gtk/webkit/webkitwebframe.h:176: Extra space before ( in function call [whitespace/parens] [4] WebKit/gtk/tests/testmimehandling.c:109: Declaration has space between * and variable name in WebKitNetworkResponse* response [whitespace/declaration] [3] WebKit/gtk/tests/testmimehandling.c:110: Declaration has space between * and variable name in SoupMessage* message [whitespace/declaration] [3] WebKit/gtk/tests/testmimehandling.c:111: Declaration has space between * and variable name in char* disposition [whitespace/declaration] [3] Total errors found: 10
Xan Lopez
Comment 4
2009-12-07 15:09:47 PST
Comment on
attachment 44433
[details]
proposed fix Nice!
Gustavo Noronha (kov)
Comment 5
2009-12-07 18:46:36 PST
Landed as
r51825
.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug