From: paul Date: Sun, 20 Jul 2014 16:10:59 +0000 (+0000) Subject: escape certain characters before passing to eval (\, $, and `) X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=28c5fc2fa939cc3a2ac0b82287ec38c24c1a0063;p=confetti escape certain characters before passing to eval (\, $, and `) svn path=/trunk/; revision=50 --- diff --git a/pages/attendees.sh b/pages/attendees.sh index 9d03cad..f40f82d 100755 --- a/pages/attendees.sh +++ b/pages/attendees.sh @@ -183,7 +183,8 @@ vcf_parse() { done ;; esac - done + done \ + | sed -r 's:[\\$`]:\\&:g' } view_attendee() { #Parameter: Cardfile