]> granicus.if.org Git - mutt/commitdiff
add "|" to the list of shell chars
authorMichael Elkins <me@sigpipe.org>
Sat, 7 Apr 2007 22:21:24 +0000 (15:21 -0700)
committerMichael Elkins <me@sigpipe.org>
Sat, 7 Apr 2007 22:21:24 +0000 (15:21 -0700)
enter.c

diff --git a/enter.c b/enter.c
index 9a1ac2d660d07c4af7dbe3904e1dafe2a2c7812b..0a1470ca229994086bb1a41a4db5b4fd20a8d45f 100644 (file)
--- a/enter.c
+++ b/enter.c
@@ -191,7 +191,7 @@ static void replace_part (ENTER_STATE *state, size_t from, char *buf)
  */
 inline int is_shell_char(wchar_t ch)
 {
-  static wchar_t shell_chars[] = L"<>&()$?*;{} "; /* ! not included because it can be part of a pathname in Mutt */
+  static wchar_t shell_chars[] = L"<>&()$?*;{}| "; /* ! not included because it can be part of a pathname in Mutt */
   return wcschr(shell_chars, ch) != NULL;
 }