-
Notifications
You must be signed in to change notification settings - Fork 111
is_not_sanitized
wpferguson edited this page Jun 14, 2020
·
1 revision
is_not_sanitized
Check if a string has been sanitized
local ds = require "lib/dtutils.string"
local result = ds.is_not_sanitized(str)
str - string - the string that needs to be made safe
is_not_sanitized checks a string to see if it has been made safe use passing as an argument in a system command.
result - boolean - true if the string is not sanitized otherwise false