From 1e26cef1722d370d7c15b8eff96da0c8d1f9d164 Mon Sep 17 00:00:00 2001 From: Louwrentius Date: Sun, 22 Mar 2009 10:05:36 +0000 Subject: [PATCH] fixing filename sanitation --- ppss.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ppss.sh b/ppss.sh index 2bdec53..3523221 100755 --- a/ppss.sh +++ b/ppss.sh @@ -908,13 +908,13 @@ download_item () { then #ITEM_ESCAPED=`echo "$ITEM" | sed s:\\ :\\\\\\\\\ :g` ITEM_ESCAPED=`echo "$ITEM" | \ - sed s/\\\//\\\\\\ /g | \ sed s/\\ /\\\\\\\\\\\\\\ /g | \ sed s/\\'/\\\\\\\\\\\\\\'/g | \ sed s/\&/\\\\\\\\\\\\\\&/g | \ sed s/\(/\\\\\\\\\\(/g | \ sed s/\)/\\\\\\\\\\)/g ` + echo " ==+> $ITEM_ESCAPED" scp -q $SSH_OPTS $SSH_KEY $USER@$SSH_SERVER:"$ITEM_ESCAPED" ./$PPSS_LOCAL_TMPDIR log DEBUG "Exit code of remote transfer is $?" else