Escape % signs in the command line before passing it to util_do_command().
Showing
1 changed file
with
1 additions
and
0 deletions
... | @@ -335,6 +335,7 @@ mail_mainloop(char *(*input) __P((void *, int)), void *closure, int do_history) | ... | @@ -335,6 +335,7 @@ mail_mainloop(char *(*input) __P((void *, int)), void *closure, int do_history) |
335 | command = buf; | 335 | command = buf; |
336 | len = strlen (command); | 336 | len = strlen (command); |
337 | } | 337 | } |
338 | util_escape_percent (&command); | ||
338 | cmd = util_stripwhite (command); | 339 | cmd = util_stripwhite (command); |
339 | util_do_command (cmd); | 340 | util_do_command (cmd); |
340 | #ifdef WITH_READLINE | 341 | #ifdef WITH_READLINE | ... | ... |
-
Please register or sign in to post a comment