View Issue Details

IDProjectCategoryView StatusLast Update
0003955mantisbtattachmentspublic2014-11-07 15:23
ReporterJumar Assigned To 
PrioritynormalSeverityfeatureReproducibilityalways
Status acknowledgedResolutionopen 
Summary0003955: g_disallowed_files only looks for endings
Description

if zip is disabled, you can upload a .zip-file which is renamed to .txt.
in the database (table mantis_bug_file_table) stands korrectly: application/x-zip-compressed
so for security reasons, it would be better to check the files deeper than only the ending.

TagsNo tags attached.

Activities

emm

emm

2007-07-18 06:19

reporter   ~0015091

I totally agree with this, and I'd like to add that it would be a great improvement to display the list in g_allowed_files.

Because if a user tries to upload a file which extension is disallowed, he need to go back to the page and re-enter all the information!
By the way, is this normal? When a field is incorrect, you should not need to re-fill ALL! Maybe I need to enter another mantis for this...

Have a good day!