Project

General

Profile

Actions

Bug #5873

closed

User story #5449: Make environment variables accessible as parameter in all Techniques

Non-escaped quotes in environment-variables.cf cause CFEngine parsing error

Added by Jonathan CLARKE almost 10 years ago. Updated over 9 years ago.

Status:
Released
Priority:
2
Category:
Techniques
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

From environment-variables.cf:

    windows::
     "script" string => "@echo off                                                                                                                                                                                                           
for /F  "tokens=1,2* delims==" %%G IN ('SET') DO ECHO =node.env[%%G]=%%H";

This contains double quotes on line 2 that should obviously be escaped.

Actions

Also available in: Atom PDF