Parcourir la source

escape single quote in box, fix #880

pull/891/head
Luke Smith il y a 1 an
Parent
révision
60951ccbee
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. +1
    -1
      bin/mw

+ 1
- 1
bin/mw Voir le fichier

@@ -229,7 +229,7 @@ getboxes() { if [ -n "${force+x}" ] ; then
idnum=$((idnum + 1))
[ "$idnum" -eq "$x" ] || break
done
toappend="mailboxes $(echo "$mailboxes" | sed "s/^/\"=/;s/$/\"/" | paste -sd ' ' - )"
toappend="mailboxes $(echo "$mailboxes" | sed "s/^/\"=/;s/$/\"/;s/'/\\\'/g" | paste -sd ' ' - )"
}

finalize() { echo "$toappend" >> "$accdir/$fulladdr.muttrc"


Chargement…
Annuler
Enregistrer