drupflare/drangler - v0.1.0
    Preparing search index...

    Function normaliseRoot

    • Validates the remote Drupal root.

      Absolute, no .., and no shell metacharacter, because this string is interpolated into remote command text. A relative root would also resolve against whatever directory the login shell picks, which differs between sh and a user's configured shell.

      Parameters

      • root: string

      Returns string