added extra sanitizing of input but it is not perfect.
This commit is contained in:
parent
08f7868e91
commit
7924df584b
|
@ -970,6 +970,8 @@ escape_item () {
|
|||
ITEM_ESCAPED=`echo "$TMP" | \
|
||||
sed s/\\ /\\\\\\\\\\\\\\ /g | \
|
||||
sed s/\\'/\\\\\\\\\\\\\\'/g | \
|
||||
sed s/\\\`/\\\\\\\\\\\\\\\`/g | \
|
||||
sed s/\\|/\\\\\\\\\\\\\\|/g | \
|
||||
sed s/\&/\\\\\\\\\\\\\\&/g | \
|
||||
sed s/\;/\\\\\\\\\\\\\\;/g | \
|
||||
sed s/\(/\\\\\\\\\\(/g | \
|
||||
|
|
Loading…
Reference in New Issue