Fixed
Details
Assignee
Pothys - MitrahSoftPothys - MitrahSoftReporter
Pothys - MitrahSoftPothys - MitrahSoftPriority
MajorFix versions
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
Sprint
NoneAffects versions
Details
Details
Assignee
Pothys - MitrahSoft
Pothys - MitrahSoftReporter
Pothys - MitrahSoft
Pothys - MitrahSoftPriority
Fix versions
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
Sprint
None
Affects versions
Created 31 July 2019 at 07:38
Updated 8 June 2023 at 08:49
Resolved 5 December 2022 at 11:20
Using FileGetMimeType, if run the below code it returns mime-type of file. Although that file does not exist on the path
https://docs.lucee.org/reference/functions/filegetmimetype.html
https://helpx.adobe.com/coldfusion/cfml-reference/coldfusion-functions/functions-e-g/filegetmimetype.html
Solution
Strict is by default true
For Lucee 6.0,
when strict is false, this existing behaviour will be supported.
when strict is true, an empty or non existent file will now throw an error
Previously, strict was ignored in Lucee, as Lucee only bundles Tika core, not the full suite of tika-parsers due to it’s size and all the dependencies
(maybe we add a tika extension with the whole gang of parsers and libs?)