BAN-AI-Multics / ban-telnet

ban-telnet: TELNET client and server (for UNIX)

Home Page:https://github.com/BAN-AI-Multics/ban-telnet

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

(SH-2086) Use double quote to prevent globbing and word splitting

johnsonjh opened this issue · comments

Description

Problematic code: sh echo $1 for i in $*; do :; done # this one and the next one also apply to expanding arrays. for i in $@; do :; done ## Correct code: ```sh echo "$1" for i in "$@"; do :; done # or, 'for i; …

Occurrences

There are 115 occurrences of this issue in the repository.

See all occurrences on DeepSource → deepsource.io/gh/BAN-AI-Multics/ban-telnet/issue/SH-2086/occurrences/

⚠️ This has been marked to be closed in 7 days.