Commit e500c497 e500c497fd88fc9cf5fda7f8b8d571ac4f39b04c by Sergey Poznyakoff

Escape % signs in the command line before passing it to util_do_command().

1 parent 4977fe38
...@@ -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
......