Nut - v1.0.0
    Preparing search index...

    Function escapeCommandPart

    • Escapes a command part for safe transmission over the NUT protocol.

      • Removes all ASCII control characters (0x00-0x1F) to prevent command injection
      • Escapes backslashes: \ → \
      • Escapes double quotes: " → "

      Parameters

      • part: string

      Returns string