Skip to Content.
Sympa Menu

cacert-devel - Re: Resent: Patch request: Bug #1019

Subject: CAcert Code Development list.

List archive

Re: Resent: Patch request: Bug #1019


Chronological Thread 
  • 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 CAcert <ulrich AT cacert.org>, Dirk Astrath <dirk.astrath AT cacert.org>, Martin Gummi <martin.gummi AT cacert.org>, Marcus Mängel <m.maengel AT inopiae.de>, Jonathan Laventhol <jonathanlaventhol AT gmail.com>
  • Subject: Re: Resent: Patch request: Bug #1019
  • Date: Mon, 17 Sep 2012 11:03:09 +0200
  • Organization: CAcert

Hi Michael,

On 11.09.2012 22:51, Michael Tänzer wrote:
> We have a fix for https://bugs.cacert.org/view.php?id=1019
> "Contact form does not work when logged in!"
> 
> The fix was reviewed by Dirk Astrath (dastrath) and me (NEOatNHNG) and
> tested by Martin Gummi, Marcus Mängel (INOPIAE) and Jonathan Laventhol
> (JonathanL).
> 
> 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:
> pages/account/40.php
> pages/index/11.php
> www/account.php

The patch has been installed on the production server on September 17, 2012.
See also the attached log message. Also the translation server upload and
download has been performed, and the Apache2 webserver has been restarted
to effectuate the translation changes.

Regards,
-- wytze


--- Begin Message ---
  • From: Wytze van der Raay <wytze AT cacert.org>
  • To: cacert-systemlog AT lists.cacert.org
  • Subject: Fwd: [cvs.cacert.org checkin notification]
  • Date: Mon, 17 Sep 2012 10:48:44 +0200
  • Organization: CAcert
Fix for https://bugs.cacert.org/view.php?id=1019
"Contact form does not work when logged in!"

In conjunction with the attached CVS changes a new tarball has been
made available incorporating all updates. The new tarball is available
through http://www.cacert.org/src-lic.php

-- end

--- Begin Message ---
  • From: "root" <root AT cvs.cacert.org>
  • To: critical-admin AT cacert.org
  • Subject: cvs.cacert.org checkin notification
  • Date: Mon, 17 Sep 2012 10:46:30 +0200 (CEST)

uid=0(root) gid=0(root) groups=0(root)
40.php 1.29 1.30
Mon Sep 17 10:46:30 CEST 2012
Update of /var/lib/cvs/cacert/pages/account
In directory hlin:/home/cacert/www/pages/account

Modified Files:
        40.php 
Log Message:
Fix for https://bugs.cacert.org/view.php?id=1019
"Contact form does not work when logged in!"

===================================================================
RCS file: /var/lib/cvs/cacert/pages/account/40.php,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- 40.php      2012/04/29 18:32:33     1.29
+++ 40.php      2012/09/17 08:46:30     1.30
@@ -19,15 +19,6 @@
 ?>
 <H3><?=_("Contact Us")?></H3>
 
-<p><? printf(_("To contact us please log out and then use the contact form ".
-               "there or send us an email to %s. We are working to fix this 
".
-               "situation so you may contact us while staying logged in 
again."),
-               
-               "<a 
href='mailto:support AT cacert.org'>support AT cacert.org</a>"
-       ) ?>
-</p>
-
-<?/*
 <p><b><?=_("General Questions")?></b></p>
 <p><b><?=_("PLEASE NOTE: Due to the large amounts of support questions, 
incorrectly directed emails may be over looked, this is a volunteer effort 
and directing general questions to the right place will help everyone, 
including yourself as you will get a reply quicker.")?></b></p>
 <p><b><?=_("If you are contacting us about advertising, please use the form 
at the bottom of the website, the first contact form is not the correct 
place.")?></b></p>
@@ -36,7 +27,7 @@
 <p><?=_("General questions about CAcert should be sent to the general 
support list, please send all emails in ENGLISH only, this list has many more 
volunteers then those directly involved with the running of the website, 
everyone on the mailing list understands english, even if this isn't their 
native language this will increase your chance at a competent reply. While 
it's best if you sign up to the mailing list to get replied to, you don't 
have to, but please make sure you note this in your email, otherwise it might 
seem like you didn't get a reply to your question.")?></p>
 <p><a href="https://lists.cacert.org/wws/info/cacert-support";><?=_("Click 
here to go to the Support List")?></a></p>
 <p><?=_("You can alternatively use the form below, however joining the list 
is the prefered option to support your queries")?></p>
-<form method="post" name="form1">
+<form method="post" action="account.php" name="form1">
   <input type="hidden" name="oldid" value="<?=$id?>">
   <input type="hidden" name="support" value="yes">
   <input type="hidden" name="secrethash2" value="">
@@ -61,7 +52,7 @@
 
 <p><b><?=_("Sensitive Information")?></b></p>
 <p><?=_("If you have questions, comments or otherwise and information you're 
sending to us contains sensitive details, you should use the contact form 
below. Due to the large amounts of support emails we receive, sending general 
questions via this contact form will generally take longer then using the 
support mailing list. Also sending queries in anything but english could 
cause delays in supporting you as we'd need to find a translator to 
help.")?></p>
-<form method="post" action="https://www.cacert.org/index.php" name="form2";>
+<form method="post" action="account.php" name="form2">
   <input type="hidden" name="secrethash2" value="">
   <input type="hidden" name="oldid" value="<?=$id?>">
   <table border="0">
@@ -98,4 +89,3 @@
        document.form2.secrethash2.value = pagehash;
 -->
 </script>
-*/

--- End Message ---
--- Begin Message ---
  • From: "root" <root AT cvs.cacert.org>
  • To: critical-admin AT cacert.org
  • Subject: cvs.cacert.org checkin notification
  • Date: Mon, 17 Sep 2012 10:46:34 +0200 (CEST)

uid=0(root) gid=0(root) groups=0(root)
11.php 1.26 1.27
Mon Sep 17 10:46:34 CEST 2012
Update of /var/lib/cvs/cacert/pages/index
In directory hlin:/home/cacert/www/pages/index

Modified Files:
        11.php 
Log Message:
Fix for https://bugs.cacert.org/view.php?id=1019
"Contact form does not work when logged in!"

===================================================================
RCS file: /var/lib/cvs/cacert/pages/index/11.php,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- 11.php      2011/09/21 14:32:36     1.26
+++ 11.php      2012/09/17 08:46:34     1.27
@@ -27,7 +27,7 @@
 <p><?=_("General questions about CAcert should be sent to the general 
support list, please send all emails in ENGLISH only, this list has many more 
volunteers then those directly involved with the running of the website, 
everyone on the mailing list understands english, even if this isn't their 
native language this will increase your chance at a competent reply. While 
it's best if you sign up to the mailing list to get replied to, you don't 
have to, but please make sure you note this in your email, otherwise it might 
seem like you didn't get a reply to your question.")?></p>
 <p><a href="https://lists.cacert.org/wws/info/cacert-support";><?=_("Click 
here to go to the Support List")?></a></p>
 <p><?=_("You can alternatively use the form below, however joining the list 
is the prefered option to support your queries")?></p>
-<form method="post" name="form1">
+<form method="post" action="index.php" name="form1">
   <input type="hidden" name="oldid" value="<?=$id?>">
   <input type="hidden" name="support" value="yes">
   <input type="hidden" name="secrethash2" value="">
@@ -52,7 +52,7 @@
 
 <p><b><?=_("Sensitive Information")?></b></p>
 <p><?=_("If you have questions, comments or otherwise and information you're 
sending to us contains sensitive details, you should use the contact form 
below. Due to the large amounts of support emails we receive, sending general 
questions via this contact form will generally take longer then using the 
support mailing list. Also sending queries in anything but english could 
cause delays in supporting you as we'd need to find a translator to 
help.")?></p>
-<form method="post" action="https://www.cacert.org/index.php" name="form2";>
+<form method="post" action="index.php" name="form2">
   <input type="hidden" name="secrethash2" value="">
   <input type="hidden" name="oldid" value="<?=$id?>">
   <table border="0">

--- End Message ---
--- Begin Message ---
  • From: "root" <root AT cvs.cacert.org>
  • To: critical-admin AT cacert.org
  • Subject: cvs.cacert.org checkin notification
  • Date: Mon, 17 Sep 2012 10:46:43 +0200 (CEST)

uid=0(root) gid=0(root) groups=0(root)
account.php 1.17 1.18
Mon Sep 17 10:46:43 CEST 2012
Update of /var/lib/cvs/cacert/www
In directory hlin:/home/cacert/www/www

Modified Files:
        account.php 
Log Message:
Fix for https://bugs.cacert.org/view.php?id=1019
"Contact form does not work when logged in!"

===================================================================
RCS file: /var/lib/cvs/cacert/www/account.php,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- account.php 2011/11/25 11:28:37     1.17
+++ account.php 2012/09/17 08:46:43     1.18
@@ -47,7 +47,7 @@
 
                 $message = "From: $who\nEmail: $email\nSubject: 
$subject\n\nMessage:\n".$message;
 
-                
sendmail("cacert-support AT lists.cacert.org,
 $email", "[website form email]: ".$subject, $message, 
"website-form AT cacert.org",
 
"cacert-support AT lists.cacert.org,
 $email", "", "CAcert Website");
+                
sendmail("cacert-support AT lists.cacert.org",
 "[website form email]: ".$subject, $message, 
"website-form AT cacert.org",
 
"cacert-support AT lists.cacert.org,
 $email", "", "CAcert Website");
                
                 showheader(_("Welcome to CAcert.org"));
                 echo _("Your message has been sent to the general support 
list.");

--- End Message ---

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


--- End Message ---

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature




Archive powered by MHonArc 2.6.16.

Top of Page