diff options
author | Johannes Kulick <kulick@hildensia.de> | 2012-12-15 16:35:06 +0100 |
---|---|---|
committer | Patrick Totzke <patricktotzke@gmail.com> | 2013-02-19 10:10:08 +0000 |
commit | 8202a29c97266b411517dac7b2ad48eeb59eaa5f (patch) | |
tree | 420a0f31b27ff677a88b95db42a9eaf7b2c32b76 /alot | |
parent | e0832db8ad35507256f8f9f01fca3f5d4e99247a (diff) |
escape double quotes as well
Diffstat (limited to 'alot')
-rw-r--r-- | alot/helper.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/alot/helper.py b/alot/helper.py index 2df22493..91837f4c 100644 --- a/alot/helper.py +++ b/alot/helper.py @@ -29,6 +29,7 @@ def split_commandline(s, comments=False, posix=True): """ # shlex seems to remove unescaped quotes s = s.replace('\'', '\\\'') + s = s.replace('\"', '\\\"') # encode s to utf-8 for shlex if isinstance(s, unicode): s = s.encode('utf-8') |