Nut - v1.0.0
Preparing search index...
escapeCommandPart
Function escapeCommandPart
escapeCommandPart
(
part
:
string
)
:
string
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
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Nut - v1.0.0
Loading...
Escapes a command part for safe transmission over the NUT protocol.