BAN-AI-Multics / ban-telnet

ban-telnet: TELNET client and server (for UNIX)
https://github.com/BAN-AI-Multics/ban-telnet
GNU General Public License v3.0
2 stars 0 forks source link

(SH-2046) Consider quoting command expansion to prevent word splitting #5

Closed johnsonjh closed 3 years ago

johnsonjh commented 3 years ago

Description

When command expansions are unquoted, word splitting and globbing will occur. This can result unintended behaviour filenames contain spaces. Trying to fix it by adding quotes or escapes to the data will not work. Instead, quote the command substitution itself. If the command substitution outputs multiple pieces of data, it …

Occurrences

There are 9 occurrences of this issue in the repository.

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

repo-ranger[bot] commented 3 years ago

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