Anonymous | Login | 02-27-2021 21:41 UTC |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0001131 | [Squeak] Network | minor | always | 04-28-05 18:55 | 02-16-11 00:38 | ||||
Reporter | murphydye | View Status | public | ||||||
Assigned To | KenCausey | ||||||||
Priority | normal | Resolution | fixed | ||||||
Status | closed | Product Version | 3.8 | ||||||
Summary | 0001131: Linefeeds in mail message | ||||||||
Description |
When fetching email messages from an IMAP server, the lines end with cr/lf. MailMessage>>from: expects only cr and parses these messages incorrectly. Peeking for lf in #readStringLineFrom: fixes this: MailMessage>>readStringLineFrom: aStream "Read and answer the next line from the given stream. Consume the carriage return but do not append it to the string." | line | line := aStream upTo: Character cr. aStream peek = Character lf ifTrue: [aStream next]. ^ line |
||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
46 total queries executed. 35 unique queries executed. |