mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-09-24 02:17:42 +02:00
CustomVariableString: Render variables explicitily if the name is in between $ symbols
This commit is contained in:
parent
0a6891bcde
commit
c32a4da7f6
@ -51,7 +51,6 @@ class CustomVariableString extends CustomVariable
|
|||||||
if (
|
if (
|
||||||
str_starts_with($value, '$')
|
str_starts_with($value, '$')
|
||||||
&& str_ends_with($value, '$')
|
&& str_ends_with($value, '$')
|
||||||
&& str_contains($value, 'vars.')
|
|
||||||
) {
|
) {
|
||||||
$whiteList[] = trim($value, '$');
|
$whiteList[] = trim($value, '$');
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user