[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Shell-escape a string

From: Mark A. Hershberger
Subject: Shell-escape a string
Date: Fri, 06 Mar 2015 10:17:36 -0500

Is there a piece of standard code or a library that I can use to escape
a string so it is safe to pass to bash?

Specifically, I have submitted this bit[1] to add deletion of duplicate
messages to a guile script included with mu (maildir utils) and now
we're looking at how to escape the file names to keep this maliciously
inserted maildir files from causing problems.

Any hints?


Mark A. Hershberger
NicheWork LLC

reply via email to

[Prev in Thread] Current Thread [Next in Thread]