News for hackers. Stuff that matters.
Re:Ask HN: Create an app that sends an email with some text by nh2 on Monday September 23, 2024 @05:10AM (#41623988)
This is unsafe (glob injection).

Never use bash unless you know exactly what you are doing, and even then, better don't.

Even worse to recommend bash to somebody who already stated that they don't know what they are doing.

Just use Python for such scripts, it won't let you shoot yourself into the foot with surprising behavior.

There are no comments on this comment yet.