Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Bugs

[issue504152] rfc822 long header continuation broken

 

 

Python bugs RSS feed   Index | Next | Previous | View Threaded


report at bugs

Aug 29, 2007, 7:14 PM

Post #1 of 5 (311 views)
Permalink
[issue504152] rfc822 long header continuation broken

Skip Montanaro added the comment:

Is this still an issue? No activity since 2003-11.

----------
nosy: +skip.montanaro

____________________________________
Tracker <report[at]bugs.python.org>
<http://bugs.python.org/issue504152>
____________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Aug 29, 2007, 8:36 PM

Post #2 of 5 (290 views)
Permalink
[issue504152] rfc822 long header continuation broken [In reply to]

Guido van Rossum added the comment:

How about this patch? It basically does

self.dict[headerseen] += line.rstrip()

which should be what the RFC prescribes, maintaining the invariant that
the dict values don't end in whitespace.

I haven't written a test for this behavior.

____________________________________
Tracker <report[at]bugs.python.org>
<http://bugs.python.org/issue504152>
____________________________________
Attachments: rfc822.diff (0.58 KB)


report at bugs

Aug 29, 2007, 8:36 PM

Post #3 of 5 (289 views)
Permalink
[issue504152] rfc822 long header continuation broken [In reply to]

Changes by Guido van Rossum:


----------
versions: +Python 2.4, Python 2.5, Python 2.6, Python 3.0

____________________________________
Tracker <report[at]bugs.python.org>
<http://bugs.python.org/issue504152>
____________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Aug 30, 2007, 7:40 PM

Post #4 of 5 (281 views)
Permalink
[issue504152] rfc822 long header continuation broken [In reply to]

Guido van Rossum added the comment:

Barry, what do you think of this patch? How does the email package
handle this case?

____________________________________
Tracker <report[at]bugs.python.org>
<http://bugs.python.org/issue504152>
____________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

Sep 13, 2007, 4:23 PM

Post #5 of 5 (264 views)
Permalink
[issue504152] rfc822 long header continuation broken [In reply to]

Changes by Brett Cannon:


----------
keywords: +patch

____________________________________
Tracker <report[at]bugs.python.org>
<http://bugs.python.org/issue504152>
____________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com

Python bugs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.