Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#22002 - [chromium] warns on pdf download

Attached to Project: Arch Linux
Opened by Simeon (bladud) - Tuesday, 07 December 2010, 02:43 GMT
Last edited by Ionut Biru (wonder) - Thursday, 10 February 2011, 13:59 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Dan Griffiths (Ghost1227)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Chrome, since version 8, warns on downloading a pdf. The warning is:
"This type of file can harm your computer. Are you sure..."

and you have to click a tiny "save" button every single time. I doubt the utility of this warning,
and I find it irksome. Fortunately, a simple edit is enough to disable it.

The following trivial patch does it:

-- chrome/browser/download/download_exe.cc 2010-12-07 02:38:37.000000000 +0000
+++ chrome/browser/download/download_exe_new.cc 2010-12-07 02:38:42.000000000 +0000
@@ -61,7 +61,6 @@
"htm",
"html",
"jar",
- "pdf",
"pdfxml",
"mars",
"fdf",

I request this patch be applied, because I think I know better than google's security people :)

Version: 8.0.552.215-1
This task depends upon

Closed by  Ionut Biru (wonder)
Thursday, 10 February 2011, 13:59 GMT
Reason for closing:  Not a bug
Additional comments about closing:  that's a feature not a bug. I won't patch this out. pdfs are vulnerable
Comment by Ionut Biru (wonder) - Tuesday, 07 December 2010, 02:46 GMT
we are against patching. please report it upstream and ask them to remove it.
Comment by Simeon (bladud) - Tuesday, 07 December 2010, 03:08 GMT
This is fixed upstream by:

http://src.chromium.org/viewvc/chrome?view=rev&revision=68406

See also:
http://code.google.com/p/chromium/issues/detail?id=9044

The proposed patch would be temporary until the next release, unless you want to
cherry-pick that commit instead.
Comment by Nicolas Bigaouette (big_gie) - Wednesday, 08 December 2010, 16:10 GMT
I use Chromium to search, browse, download and read a lot of (scientific) pdf files. Since upgrade to 8.0.552.215, I need to click two times more then previously, which is a pain. I would love to see this fixed...
Comment by mkkot (mkkot) - Sunday, 06 February 2011, 21:59 GMT
It warns again...

Loading...