Newlines are removed from the end of bug attachments submitted by email
Bug #898227 reported by
Leo Iannacone
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Unassigned |
Bug Description
Send an attachment by email in reply to some bug in Launchpad.
Attachment should end with a '\n' (new line), for example:
=== START ===
Hello world!
=== EOF ===
When you'll see it in LP, the last line '\n' will be replaced by '' and file will be:
=== START ===
Hello world!
=== EOF ===
In "diff words", let "<" be the LP_gmail version and ">" be the original one:
Diff:
< +
\ No newline at end of file
---
> +
>
This problem appears only when I use gmail to send my files, it does not occur using LP directly.
Anyway, I consider it really annoying, specially when your uploads are patches, they will be corrupted and you won't be able to apply them.
I'll prove it in the next messages.
description: | updated |
description: | updated |
Changed in launchpad: | |
status: | New → Triaged |
importance: | Undecided → Low |
summary: |
- Email attachments are corrupted when last line is '\n'. + Newlines are removed from the end of bug attachments submitted by email |
Changed in launchpad: | |
assignee: | nobody → j.c.sackett (jcsackett) |
Changed in launchpad: | |
status: | Triaged → In Progress |
Changed in launchpad: | |
status: | In Progress → Triaged |
tags: | added: email python-upgrade |
Changed in launchpad: | |
importance: | Low → High |
Changed in launchpad: | |
status: | Triaged → Fix Released |
To post a comment you must log in.
File uploaded by LP web interface.