add function ExtensionInfo()

Description

it's pretty common to write a filter function to get back info about a specfic extension info from `extensionList()`;

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

let's add a convenience function `extensionInfo(guid)` which returns the extension properties as a struct

Activity

Show:

Pothys - MitrahSoft 23 September 2022 at 08:09

Pothys - MitrahSoft 29 August 2022 at 12:24

good catch , ExtensionExists() doesn't trim the input guids.

Zac Spitzer 29 August 2022 at 11:55

hmmm, do we need to trim this, do we always trim extension guids elsewhere in the code base?

Pothys - MitrahSoft 29 August 2022 at 10:53

ExtensionInfo() returns an empty struct if the input guid has trailing/leading white spaces. I’ve added a fix to trim the white spaces from the input guid.

Pull Request:

Zac Spitzer 22 July 2022 at 14:48

Fixed

Details

Assignee

Reporter

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

Fix versions

Priority

Created 6 July 2021 at 10:56
Updated 25 October 2022 at 16:33
Resolved 23 September 2022 at 07:50