Uploaded image for project: 'Modules'
  1. Modules
  2. MODULES-3426

ini_setting: too strict path validation on windows

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: inifile
    • Labels:

      Description

      ini_setting doesn't validate paths on windows correctly.
      The ini_setting type assumes all paths on windows are given as <drive>:/ (forward slash)
      Windows itself will allow both forward and backward slashes.
      If you use the common_appdata fact for example to specify a path the ini_setting type will fail because common_appdata contains a backward slash.

        Attachments

          Activity

            People

            • Assignee:
              loredana.ionce Loredana Ionce
              Reporter:
              ripzura Rene Last
            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Zendesk Support