From 31c97abb63c7223e224c399a7d474f012ecf8a45 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Mon, 23 Aug 2021 11:46:54 +0200 Subject: containers: T2216: add environmnet variable constraint An environment variable passed to podman can only consist out of alphanumeric characters, a hypend and an underscore. --- interface-definitions/containers.xml.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/interface-definitions/containers.xml.in b/interface-definitions/containers.xml.in index 124b1f65e..29762c171 100644 --- a/interface-definitions/containers.xml.in +++ b/interface-definitions/containers.xml.in @@ -25,6 +25,10 @@ Add custom environment variables + + ^[-_a-zA-Z0-9]+$ + + Environment variable name must be alphanumeric and can contain hyphen and underscores -- cgit v1.2.3