allow specifying a file extension for getTempFile

Description

GetTempFile always creates a file with a .tmp extension, but this is problematic for image functions
as the image file type is determined by the destination file extension.

It would be really nice to support a third parameter which allows the user to specify which file extension the temp file should have, default is of course "tmp"

https://docs.lucee.org/reference/functions/gettempfile.html

Assignee

Michael Offner

Reporter

Zac Spitzer

Labels

Affects versions

Priority

New
Configure