added extra sanitizing of input but it is not perfect.
This commit is contained in:
parent
ac7192cfde
commit
a4f1107863
2
ppss.sh
2
ppss.sh
@ -970,6 +970,8 @@ escape_item () {
|
|||||||
ITEM_ESCAPED=`echo "$TMP" | \
|
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 | \
|
sed s/\&/\\\\\\\\\\\\\\&/g | \
|
||||||
sed s/\;/\\\\\\\\\\\\\\;/g | \
|
sed s/\;/\\\\\\\\\\\\\\;/g | \
|
||||||
sed s/\(/\\\\\\\\\\(/g | \
|
sed s/\(/\\\\\\\\\\(/g | \
|
||||||
|
Loading…
Reference in New Issue
Block a user