From a4f1107863b911acddd4d69ca5b6e24f731dab02 Mon Sep 17 00:00:00 2001 From: Louwrentius Date: Tue, 5 May 2009 20:29:42 +0000 Subject: [PATCH] added extra sanitizing of input but it is not perfect. --- ppss.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ppss.sh b/ppss.sh index b199538..44eb90d 100755 --- a/ppss.sh +++ b/ppss.sh @@ -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 | \