[Kde-pim] Review Request 122933: KMIME: Do not add additional newlines, while parsing mails.
Sandro Knauß
knauss at kolabsys.com
Sun Mar 15 12:03:55 GMT 2015
> On März 15, 2015, 7:35 vorm., Laurent Montel wrote:
> > kmime/kmime_content.cpp, line 302
> > <https://git.reviewboard.kde.org/r/122933/diff/1/?file=354831#file354831line302>
> >
> > it will good to rename "e", "tmp" variable as a real name.
> >
> > because here e == head
> > and tmp == encodedBody
> >
> > e == headerData
> > tmp == tmpEncodedBodyData ?
well e is not the head only.
e is he return variable, that is initialized with the head right but afterwards we add the body. So i think we should stay with e or rename it to encodedContentData.
- Sandro
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/122933/#review77494
-----------------------------------------------------------
On März 14, 2015, 2:10 nachm., Sandro Knauß wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/122933/
> -----------------------------------------------------------
>
> (Updated März 14, 2015, 2:10 nachm.)
>
>
> Review request for KDEPIM-Libraries.
>
>
> Bugs: 332036 and 332973
> http://bugs.kde.org/show_bug.cgi?id=332036
> http://bugs.kde.org/show_bug.cgi?id=332973
>
>
> Repository: kdepimlibs
>
>
> Description
> -------
>
> If testing the signature status of mails, than nothing is allowed to
> change. Also not the number of newlines, that seperates head and body. So make sure that at least two are written.
>
> BUG: 332036
> BUG: 332973
> FIXED-IN: 15.04
>
>
> Diffs
> -----
>
> kmime/kmime_content.cpp 7d30e1057fa6d56f08ebf788cfd71d9b03d5d111
> kmime/kmime_header_parsing.cpp 647370341c1f4874b952e2050fc2384d21bc7f78
> kmime/tests/auto/contenttest.cpp 772260c8f610f108a60e39de09423472acfe6e25
> kmime/tests/auto/messagetest.h d49ef9b6ff2d2de388adf211393e31aa3e917f99
> kmime/tests/auto/messagetest.cpp 1632f5988009a5d5cd039ed851f9ab19f576b867
> kmime/tests/data/mails/dontchangemail.mbox PRE-CREATION
>
> Diff: https://git.reviewboard.kde.org/r/122933/diff/
>
>
> Testing
> -------
>
> run make test
>
> open the attached mails from 332036 and 332973 and test there signature status.
>
>
> Thanks,
>
> Sandro Knauß
>
>
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/
More information about the kde-pim
mailing list