Skip to content

cffile upload issue #21

@georgemeng

Description

@georgemeng

When scanning code, this code works fine:

	<cffile action="upload" 
		result="result" 
		filefield="FILE" 
		destination="#uploadFile#" 
		nameconflict="overwrite"
		allowedExtensions="pdf,.xls,.xlsx,.doc,.docx" />

But this would report an issue Possible Unsafe File Upload [file-upload]

	<cffile action="upload" 
		result="result" 
		filefield="FILE" 
		destination="#uploadFile#" 
		nameconflict="overwrite"
		allowedExtensions=".pdf,.xls,.xlsx,.doc,.docx,.ppt" />

The difference is the .ppt in the allowedExtensions. How to support .ppt (powerpoint) and pass the fixinator scan?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions