Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fix] (group)reply: newlines in long header fields #31

Closed
pazz opened this issue Aug 21, 2011 · 0 comments
Closed

[fix] (group)reply: newlines in long header fields #31

pazz opened this issue Aug 21, 2011 · 0 comments
Labels
Milestone

Comments

@pazz
Copy link
Owner

pazz commented Aug 21, 2011

Traceback (most recent call last):
File "/usr/local/bin/alot", line 20, in
main()
File "/usr/local/lib/python2.7/dist-packages/alot/init.py", line 95, in main
args.colours,
File "/usr/local/lib/python2.7/dist-packages/alot/ui.py", line 75, in init
self.mainloop.run()
File "/usr/local/lib/python2.7/dist-packages/urwid-1.0.0-py2.7-linux-x86_64.egg/urwid/main_loop.py", line 271, in run
self.screen.run_wrapper(self._run)
File "/usr/local/lib/python2.7/dist-packages/urwid-1.0.0-py2.7-linux-x86_64.egg/urwid/raw_display.py", line 228, in run_wrapper
return fn()
File "/usr/local/lib/python2.7/dist-packages/urwid-1.0.0-py2.7-linux-x86_64.egg/urwid/main_loop.py", line 292, in _run
self.event_loop.run()
File "/usr/local/lib/python2.7/dist-packages/urwid-1.0.0-py2.7-linux-x86_64.egg/urwid/main_loop.py", line 667, in run
self._loop()
File "/usr/local/lib/python2.7/dist-packages/urwid-1.0.0-py2.7-linux-x86_64.egg/urwid/main_loop.py", line 705, in _loop
self._watch_filesfd
File "/usr/local/lib/python2.7/dist-packages/urwid-1.0.0-py2.7-linux-x86_64.egg/urwid/main_loop.py", line 185, in cb
rval = callback(data)
File "/usr/local/lib/python2.7/dist-packages/alot/command.py", line 163, in afterwards
self.on_success()
File "/usr/local/lib/python2.7/dist-packages/alot/command.py", line 766, in openEnvelopeFromTmpfile
key, value = line.strip().split(':', 1)

pazz added a commit that referenced this issue Aug 26, 2011
The input still contains utf-8 encoded stuff tped in by the user (in headers and body), that needs
to be recoded to mime format. Hence we do it ourselves.
This adds handling for multiline header values and fixes issue #31
@pazz pazz closed this as completed Aug 26, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant