Werk #9620: Improve the filename validation for .cma files

Component Firmware
Title Improve the filename validation for .cma files
Date Sep 5, 2024
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Appliance Version 1.7.6

Before this werk, uploading a Checkmk installation package with the name

check-mk-enterprise-2.3.0p1-4-x86_64 (1).cma

was not possible, due to the (1) in the filename. It lead to the error

Cannot install uploaded file:
The uploaded file is not suitable for your firmware version.
Please use the Checkmk %s platform packages instead.

Renaming the file would have worked, as well, but now we improved the filename validation to accept files like this, as well.

To the list of all Werks