Subject: CAcert Code Development list.
List archive
- From: Wytze van der Raay <wytze AT cacert.org>
- To: Michael Tänzer <michael.taenzer AT cacert.org>
- Cc: "critical-admin AT cacert.org" <critical-admin AT cacert.org>, cacert-devel AT lists.cacert.org, Ulrich Schröter CAce rt <ulrich AT cacert.org>, Benny Baumann <benbe AT cacert.org>, Marcus Mängel <inopiae AT cacert.org>, Werner Dworak <werner.dworak AT cacert.org>
- Subject: Re: Patch request: Bug #1112
- Date: Wed, 24 Apr 2013 15:36:07 +0200
- Organization: CAcert
Op 24-4-2013 15:21, Wytze van der Raay schreef:
> Op 16-4-2013 19:07, Michael Tänzer schreef:
>> We have a fix for https://bugs.cacert.org/view.php?id=1112
>> "Exchange the text on the TTP page according to the new TTP programm"
>>
>> The fix was reviewed by Benny Baumann (BenBE) and me (NEOatNHNG) and
>> tested by Werner Dworak, Martin Gummi and Marcus Mängel (INOPIAE).
>>
>> Diff is attached. Please also run the locale makefile so that our
>> translators see the new strings (if present) on
>> https://translations.cacert.org and new translations get imported into
>> the system.
>>
>> Changed files:
>> /includes/wot.inc.php
>> /pages/wot/4.php
>> /www/wot.php
>
> The fix has been installed on the production server on April 24, 2013.
> See also the attached log message. The requested translation server
> updates have also been performed.
It turns out that I've inadvertently included a change to the file
includes/mysql.php.sample with this commit as well:
> RCS file: /var/lib/cvs/cacert/includes/mysql.php.sample,v
> retrieving revision 1.14
> retrieving revision 1.15
> diff -u -r1.14 -r1.15
> --- mysql.php.sample 2012/10/13 13:53:53 1.14
> +++ mysql.php.sample 2013/04/24 13:13:06 1.15
> @@ -64,7 +64,8 @@
> fputs($smtp, "DATA\r\n");
> $InputBuffer = fgets($smtp, 1024);
> fputs($smtp, "X-Mailer: CAcert.org Website\r\n");
> - fputs($smtp, "X-OriginatingIP:
> ".$_SERVER["REMOTE_ADDR"]."\r\n");
> + if (array_key_exists("REMOTE_ADDR", $_SERVER))
> + fputs($smtp, "X-OriginatingIP:
> ".$_SERVER["REMOTE_ADDR"]."\r\n");
> fputs($smtp, "Sender: $errorsto\r\n");
> fputs($smtp, "Errors-To: $errorsto\r\n");
> if($replyto != "")
While this is not part of the bug fix you've submitted, I would strongly
suggest to keep this in. We DO need this patch to avoid lots of
undesirable error messages on the server when running the CAcert cron
warning.php script, and I had tentatively added it to the server for
later submission. It's one of the many issues with obsolete or bad php5
coding in the existing CAcert application which do not work well with
more recent php5 releases.
Regards,
-- wytze
Attachment:
smime.p7s
Description: S/MIME-cryptografische ondertekening
- Patch request: Bug #1112, Michael Tänzer, 04/16/2013
- Re: Patch request: Bug #1112, Wytze van der Raay, 04/24/2013
- Re: Patch request: Bug #1112, Wytze van der Raay, 04/24/2013
- Re: Patch request: Bug #1112, Benny Baumann, 04/24/2013
- Re: Patch request: Bug #1112, Wytze van der Raay, 04/28/2013
- Re: Patch request: Bug #1112, Benny Baumann, 04/24/2013
- Re: Patch request: Bug #1112, Wytze van der Raay, 04/24/2013
- Re: Patch request: Bug #1112, Wytze van der Raay, 04/24/2013
Archive powered by MHonArc 2.6.16.