News:

Support for jDownloads 3 has been ended
Since 17 August 2023 Joomla.org has discontinued support for Joomla 3.x. Therefore, we will no longer offer official support for our Joomla 3 jDownloads version 3.9.x from January 2024.
Please update your website to the latest Joomla version (Joomla 4 or Joomla 5) as soon as possible. Afterwards, please update jDownloads to the latest published version. The longer you delay, the more difficult the upgrade process for your website is likely to be.

Main Menu
Support-Forum

Google Chrome-file is not commonly downloaded and could be dangerous[Not jDownlo

Started by Multi-FEAST, 22.11.2014 00:44:00

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Multi-FEAST

When I try and download a file from my site using Chrome I get the warning ...file is not commonly downloaded and can be dangerous. Several posts I have seen have overcome this by setting the file type and MIME properties.

See

http://www.rohitab.com/discuss/topic/40885-file-is-not-commonly-downloaded-and-could-be-dangerous/
https://productforums.google.com/forum/#!topic/webmasters/kaJ0cSw91Ng

One person comments "I added .zip as application/zip mime type and the warnings went away."

I was wondering how I create a file on Joomla jDownloads component and set the various file types such as

Content-Type: application/x-zip-compressed

Content-Type: application/zip

  •  

ColinM

Hi
jDownloads presently has the zip mime type "application/x-zip".  The "x-" prefix of a MIME subtype indicates it is not registered with the "Internet Assigned Numbers Authority" (IANA). So that should be transparent. It is actually registered but that should not matter.

Using Chrome (Version 39.0.2171.65 m) a zip file with just jpg images was ok.  However using a zip file which contained an exe did give the "file is not commonly downloaded and can be dangerous" message on download.
So I changed the file extension of the exe to xxe and repeated.  This time Chrome had no problem.

So if you upload a zip with an exe file in it either you advise users to expect that message from Chrome, or you change the extension and tell users they need to change it back to exe.

Not a jDownloads problem.

Colin
Colin M
  •