?
avatar Evgentret
Evgentret
9 Jun 2016

Steps to reproduce the issue

Allowing "zip" extension in parameters of media manager
Uploading file: "name of program ver1.0.11.exe.zip" - FAIL. Work ONLY if I also allow extensions .exe .11 .0

Expected result

System checks only last extension of file

Actual result

System information (as much as possible)

Additional comments

avatar Evgentret Evgentret - open - 9 Jun 2016
avatar bertmert
bertmert - comment - 9 Jun 2016

It's a security feature not a bug. But I think it's an annoying feature, too.

When a filename contains one of these file extensions with a leading dot somewhere(!) upload will be blocked at the latest here:
https://github.com/joomla/joomla-cms/blob/staging/libraries/cms/helper/media.php#L93-L96
That's the case with ver.exe.zip but also ver.exe.quack.copy.zip

BTW: When I use uppercase .EXE.zip I can upload.

EDIT: Files like ver.php.zip are blocked somewhere else (don't know where). Thus it makes no sense to change only behavior of above mentioned lines.

avatar brianteeman brianteeman - change - 3 Aug 2016
Status New Closed
Closed_Date 0000-00-00 00:00:00 2016-08-03 10:42:56
Closed_By brianteeman
avatar brianteeman brianteeman - close - 3 Aug 2016
avatar brianteeman
brianteeman - comment - 3 Aug 2016

Closed


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/10762.

Add a Comment

Login with GitHub to post a comment