From ad0fed21324cef2338e66ac871e3e117126d8df1 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Wed, 20 Feb 2008 16:41:32 +0100 Subject: [PATCH 1/1] cleanup sql escaping --- procmail/sql-escape | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/procmail/sql-escape b/procmail/sql-escape index 02c090a..c8bb8c9 100644 --- a/procmail/sql-escape +++ b/procmail/sql-escape @@ -1,6 +1,6 @@ :0 * DATA ?? . -{ +{ # 1. replace ' with '' # 2. add quotes to each line # 3. swap comma outside @@ -12,6 +12,3 @@ :0 E { LOG="sql-escape: WARNING: no \$DATA provided!$NL" } - -SQE -SQ -- 2.39.5