I just ran into an issue while uploading a .html file in the assetmanager.
My Lucee version is Railo 5.4.3.16 Error
(yes, the error template still says Railo).
And the error logged is:
Message: Upload of files with extension [html] is not permitted.
Detail: You can set a [allowedExtension] and a [blockedExtension] list as an argument/attribute with the tag [cffile] and the functions [fileUpload] and [fileUploadAll]. In addition you can configure this via the Application.cfc, [this.blockedExtForFileUpload] property, the [lucee.upload.blocklist] System property or the [LUCEE_UPLOAD_BLOCKLIST] Environment variable to allow this type of file to be uploaded.
The issue here is: FileUpload() :: Lucee Documentation
There’s a new attribute allowedExtension
, but somehow the option is already in Lucee 5.4, not as announced in 6.0.
I can manage this easily, just wanted to point this out as hint for others.