Item15203: improve detection of module versions
Priority: Normal
Current State: Closed
Released In: 2.1.8
Target Release: patch
Applies To: Engine
Component:
Branches: Release02x01 master
The latest version of Email::MIME has its version number stored as part of the package statement as in
package Email::MIME 1.953;
This isn't detected anymore by configure and therefore flagged as an error. In addition the current implementation
of
Foswiki::Condigure::Dependency::extractModuleVersion
was using a plain eval. Better use
Safe
wherever possible
to execute foreign code in a secure way.
--
MichaelDaum - 14 Jul 2023
Unfortunately we are not able to use version within a Safe compartment. So we have to back off to a normal eval.
--
MichaelDaum - 17 Jul 2023