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)
command = buf;
len = strlen (command);
}
util_escape_percent (&command);
cmd = util_stripwhite (command);
util_do_command (cmd);
#ifdef WITH_READLINE
......