formfiller didn't escape those chars properly. This patch fixes that. The updated version uses heredocs to also support `
Steps to reproduce: 1. go to any login form
2a. enter login: foo & passwd: foo"bar 3a. save form: efg nothing happens (check with gpg2 -d .config/dwb/forms)
2b. enter login: foo & passwd: foob\ar 3b. save form: efg forms now contains: "value":"foob\ar" 4b. load form: eff returns: "Error in line 305: JSON Parse error: Invalid escape character a"
formfiller didn't escape those chars properly. This patch fixes that. The updated version uses heredocs to also support `
Steps to reproduce: 1. go to any login form
2a. enter login: foo & passwd: foo"bar 3a. save form: efg nothing happens (check with gpg2 -d .config/dwb/forms)
2b. enter login: foo & passwd: foob\ar 3b. save form: efg forms now contains: "value":"foob\ar" 4b. load form: eff returns: "Error in line 305: JSON Parse error: Invalid escape character a"