Unquoted Variable in Test Medium

Using an unquoted variable within a test expression can lead to unexpected results due to word splitting and globbing. To ensure accurate evaluation, always enclose variables in double quotes when used in test conditions.

Detector ID
shell/unquoted-variable-in-test@v1.0
Category
Common Weakness Enumeration (CWE) external icon
-
Tags
-