Regression - this.blockedextforfileupload doesn't works for the file upload

Description

this.blockedextforfileupload defined in the Appplication.cfc doesn't block the file upload (via cfile action=upload, fileUpload(), fileUploadAll())

Example: this.blockedextforfileupload = "cfm,pdf"; in the application.cfc didn't block the pdf/cfm file uploads

 

The regression starts from 5.3.8.107-SNAPSHOT onwards. The ticket https://luceeserver.atlassian.net/browse/LDEV-3018 fix causes to this issue.
regression commit: https://github.com/lucee/Lucee/commit/e233efd4e0a56b3cd59ea68a46187fcdd69ca89e

Environment

None

Activity

Show:

Pothys - MitrahSoft 26 April 2023 at 14:44

I checked this issue on fixed Lucee versions 6.0.0.381-SNAPSHOT and 5.4.0.49-SNAPSHOT. Now it works fine when blockedextforfileupload is defined in Application.cfc for file upload functions.

Pothys - MitrahSoft 17 October 2022 at 08:26

Fixed

Details

Assignee

Reporter

Priority

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Affects versions

Created 14 October 2022 at 09:34
Updated 18 June 2023 at 16:42
Resolved 26 April 2023 at 14:44