On Thu, 2015-06-04 at 22:52 +0200, Larsen wrote: > (I changed the subject as this has nothing to do with pppsetup.cgi) > > > On Thu, 04 Jun 2015 18:23:07 +0200, Michael Tremer wrote: > > > If I remove the first space from every line of the diff that does not > > start with a + or - character. Any idea how this comes? > > > TL;DR: Opera 12.17 f*cks up the patch when sent as plain text. > > > 1) I took the file that TortoiseGit saved, saved the text I sent to the list, the text > I received from the list, and the file that Michael sent back. > 2) Edited all of them to start with these lines: > --- a/html/cgi-bin/vpnmain.cgi > +++ b/html/cgi-bin/vpnmain.cgi > 3) Converted the saved mails to UNIX format with LF instead of CRLF (Windows here) This was one of my first guesses, but it turned out to be false very quickly. > 4) Calculated md5sums: They were all the same except for the one sent to the list > > Examining this further, I noticed a bug in my mail program when it displays the mail > in the "sent" folder: When there is more then one line beginning with a space char, > the mailer will put a superfluous space character into the beginning of the last line. > Strange as hell, but this only affects the display here. > > Then, I switched views to have the header displayed, too, and saved it as a file. > Compared to the file created by TortoiseGit and now I can solve this riddle: > There we have superfluous whitespace in front of every line without a + or - > (as you noticed before). I cannot really understand why this would make the email better readable or anything. > I now also compared the mail I received as it is shown in my mail program and the bug > is present there, too. Display is ok (even without that one extra space char - that is > why the md5sum was ok first), but not when I display it with headers (raw view so to > say). > > Will send the next patches with Thunderbird and hope that it will be ok then. > Wasted about an hour examining this - hope you guys at least had fun reading ;-) > Let us know about your experience with Thunderbird. -Michael > > Lars