HomeSoftware Heritage

Only set security.limit_extensions when not empty

Description

Only set security.limit_extensions when not empty

Before we got data types, $security_limit_extensions was an optional
array of string defaulting to undef. It is now an array of string
defaulting to an empty array.

We do not want to emit security.limit_extensions when this array is
empty.

Details

Provenance
Romain Tartière <romain@blogreen.org>Authored on Aug 19 2021, 4:38 AM
olasdPushed on Dec 28 2021, 10:47 AM
Parents
R140:13c261d39cd6: Fix last bits of data-types inconsistencies
Branches
Unknown
Tags
Unknown

Event Timeline

Romain Tartière <romain@blogreen.org> committed R140:a2549af43f9a: Only set security.limit_extensions when not empty (authored by Romain Tartière <romain@blogreen.org>).Aug 19 2021, 4:45 AM