escape certain characters before passing to eval (\, $, and `)
[confetti] / pages / attendees.sh
index 9d03cad..f40f82d 100755 (executable)
@@ -183,7 +183,8 @@ vcf_parse() {
             done
        ;;
     esac
-  done
+  done \
+  | sed -r 's:[\\$`]:\\&:g'
 }
 
 view_attendee() {  #Parameter: Cardfile