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

groupexists() only checks the first char to recognize a uid or name

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.9.0, 3.7.4
    • Component/s: Built-in functions
    • Labels:
      None

      Description

      Related to CFE-1521.

      The test to check if the argument is a gid or a name is based on the first character, which breaks handling of group names starting with a digit.

        Attachments

          Activity

            People

            • Assignee:
              a10040 Kristian Amlie
              Reporter:
              amousset Alexis Mousset
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel