From 7924df584b74b0d014a9b0c1dba993d02ff71143 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. --- branches/distributed-ppss/ppss.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/branches/distributed-ppss/ppss.sh b/branches/distributed-ppss/ppss.sh index b199538..44eb90d 100755 --- a/branches/distributed-ppss/ppss.sh +++ b/branches/distributed-ppss/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 | \