Przeglądaj źródła

escape single quote in box, fix #880

pull/891/head
Luke Smith 1 rok temu
rodzic
commit
60951ccbee
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      bin/mw

+ 1
- 1
bin/mw Wyświetl plik

@@ -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"


Ładowanie…
Anuluj
Zapisz