You are here: Foswiki>Tasks Web>Item15203 (06 Aug 2023, MichaelDaum)Edit Attach

Item15203: improve detection of module versions

pencil
Priority: Normal
Current State: Closed
Released In: 2.1.8
Target Release: patch
Applies To: Engine
Component:
Branches: Release02x01 master
Reported By: MichaelDaum
Waiting For:
Last Change By: MichaelDaum
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
 
Topic revision: r5 - 06 Aug 2023, MichaelDaum
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy