News for hackers. Stuff that matters.
Re:Fish – Update on the Rust Port by pjot on Sunday November 26, 2023 @03:34PM (#38424752)
Also for sanitizing user input.

  input=$1  # User input, potentially dangerous
  rm $input # Incorrect: Risky if input contains something like '*'

  rm "$input" # Correct: Safer, treats the user input as a single item

There are no comments on this comment yet.