Uploaded image for project: 'CFEngine Community'
  1. CFEngine Community
  2. CFE-2282

Files promises should automatically escape space in name

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Unconfirmed
    • Priority: High
    • Resolution: Unresolved
    • Affects Version/s: 3.6.0
    • Fix Version/s: None
    • Component/s: Promise type: files
    • Labels:
      None

      Description

      If i'm trying to edit a file in "c:\Program Files\some\path\to\file", if I forget to escape the space or quote the whole string, the agent ends up trying to edit file c:\Program
      This makes no sense, as the promiser in files: promise is always a single item - it should be automatically escaped

      Exist at least on Windows on 3.6, need to test on 3.7

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            ncharles Nicolas Charles
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: