Use https links instead of http
This commit is contained in:
parent
e2f9138035
commit
0f75bdcdac
1 changed files with 12 additions and 12 deletions
|
@ -156,7 +156,7 @@ function buildSubjectFromSession() {
|
||||||
$emailid = mysql_insert_id();
|
$emailid = mysql_insert_id();
|
||||||
|
|
||||||
$body = _("Below is the link you need to open to verify your email address. Once your address is verified you will be able to start issuing certificates to your heart's content!")."\n\n";
|
$body = _("Below is the link you need to open to verify your email address. Once your address is verified you will be able to start issuing certificates to your heart's content!")."\n\n";
|
||||||
$body .= "http://".$_SESSION['_config']['normalhostname']."/verify.php?type=email&emailid=$emailid&hash=$hash\n\n";
|
$body .= "https://".$_SESSION['_config']['normalhostname']."/verify.php?type=email&emailid=$emailid&hash=$hash\n\n";
|
||||||
$body .= _("Best regards")."\n"._("CAcert.org Support!");
|
$body .= _("Best regards")."\n"._("CAcert.org Support!");
|
||||||
|
|
||||||
sendmail($_REQUEST['email'], "[CAcert.org] "._("Email Probe"), $body, "support@cacert.org", "", "", "CAcert Support");
|
sendmail($_REQUEST['email'], "[CAcert.org] "._("Email Probe"), $body, "support@cacert.org", "", "", "CAcert Support");
|
||||||
|
@ -514,7 +514,7 @@ function buildSubjectFromSession() {
|
||||||
{
|
{
|
||||||
$id = 4;
|
$id = 4;
|
||||||
showheader(_("My CAcert.org Account!"));
|
showheader(_("My CAcert.org Account!"));
|
||||||
printf(_("Your certificate request has failed to be processed correctly, see %sthe WIKI page%s for reasons and solutions."), "<a href='http://wiki.cacert.org/wiki/FAQ/CertificateRenewal'>", "</a>");
|
printf(_("Your certificate request has failed to be processed correctly, see %sthe WIKI page%s for reasons and solutions."), "<a href='https://wiki.cacert.org/wiki/FAQ/CertificateRenewal'>", "</a>");
|
||||||
showfooter();
|
showfooter();
|
||||||
exit;
|
exit;
|
||||||
} else {
|
} else {
|
||||||
|
@ -665,7 +665,7 @@ function buildSubjectFromSession() {
|
||||||
$domainid = mysql_insert_id();
|
$domainid = mysql_insert_id();
|
||||||
|
|
||||||
$body = sprintf(_("Below is the link you need to open to verify your domain '%s'. Once your address is verified you will be able to start issuing certificates to your heart's content!"),$_SESSION['_config']['domain'])."\n\n";
|
$body = sprintf(_("Below is the link you need to open to verify your domain '%s'. Once your address is verified you will be able to start issuing certificates to your heart's content!"),$_SESSION['_config']['domain'])."\n\n";
|
||||||
$body .= "http://".$_SESSION['_config']['normalhostname']."/verify.php?type=domain&domainid=$domainid&hash=$hash\n\n";
|
$body .= "https://".$_SESSION['_config']['normalhostname']."/verify.php?type=domain&domainid=$domainid&hash=$hash\n\n";
|
||||||
$body .= _("Best regards")."\n"._("CAcert.org Support!");
|
$body .= _("Best regards")."\n"._("CAcert.org Support!");
|
||||||
|
|
||||||
sendmail($authaddy, "[CAcert.org] "._("Email Probe"), $body, "support@cacert.org", "", "", "CAcert Support");
|
sendmail($authaddy, "[CAcert.org] "._("Email Probe"), $body, "support@cacert.org", "", "", "CAcert Support");
|
||||||
|
@ -777,7 +777,7 @@ function buildSubjectFromSession() {
|
||||||
if(!file_exists($_SESSION['_config']['tmpfname']))
|
if(!file_exists($_SESSION['_config']['tmpfname']))
|
||||||
{
|
{
|
||||||
showheader(_("My CAcert.org Account!"));
|
showheader(_("My CAcert.org Account!"));
|
||||||
printf(_("Your certificate request has failed to be processed correctly, see %sthe WIKI page%s for reasons and solutions."), "<a href='http://wiki.cacert.org/wiki/FAQ/CertificateRenewal'>", "</a>");
|
printf(_("Your certificate request has failed to be processed correctly, see %sthe WIKI page%s for reasons and solutions."), "<a href='https://wiki.cacert.org/wiki/FAQ/CertificateRenewal'>", "</a>");
|
||||||
showfooter();
|
showfooter();
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
@ -852,7 +852,7 @@ function buildSubjectFromSession() {
|
||||||
{
|
{
|
||||||
$id = 11;
|
$id = 11;
|
||||||
showheader(_("My CAcert.org Account!"));
|
showheader(_("My CAcert.org Account!"));
|
||||||
printf(_("Your certificate request has failed to be processed correctly, see %sthe WIKI page%s for reasons and solutions."), "<a href='http://wiki.cacert.org/wiki/FAQ/CertificateRenewal'>", "</a>");
|
printf(_("Your certificate request has failed to be processed correctly, see %sthe WIKI page%s for reasons and solutions."), "<a href='https://wiki.cacert.org/wiki/FAQ/CertificateRenewal'>", "</a>");
|
||||||
showfooter();
|
showfooter();
|
||||||
exit;
|
exit;
|
||||||
} else {
|
} else {
|
||||||
|
@ -938,7 +938,7 @@ function buildSubjectFromSession() {
|
||||||
$res = mysql_query($query);
|
$res = mysql_query($query);
|
||||||
if(mysql_num_rows($res) <= 0)
|
if(mysql_num_rows($res) <= 0)
|
||||||
{
|
{
|
||||||
printf(_("Your certificate request has failed to be processed correctly, see %sthe WIKI page%s for reasons and solutions."), "<a href='http://wiki.cacert.org/wiki/FAQ/CertificateRenewal'>", "</a>");
|
printf(_("Your certificate request has failed to be processed correctly, see %sthe WIKI page%s for reasons and solutions."), "<a href='https://wiki.cacert.org/wiki/FAQ/CertificateRenewal'>", "</a>");
|
||||||
} else {
|
} else {
|
||||||
$drow = mysql_fetch_assoc($res);
|
$drow = mysql_fetch_assoc($res);
|
||||||
$crt_name = escapeshellarg($drow['crt_name']);
|
$crt_name = escapeshellarg($drow['crt_name']);
|
||||||
|
@ -1102,7 +1102,7 @@ function buildSubjectFromSession() {
|
||||||
$res = mysql_query($query);
|
$res = mysql_query($query);
|
||||||
if(mysql_num_rows($res) <= 0)
|
if(mysql_num_rows($res) <= 0)
|
||||||
{
|
{
|
||||||
printf(_("Your certificate request has failed to be processed correctly, see %sthe WIKI page%s for reasons and solutions."), "<a href='http://wiki.cacert.org/wiki/FAQ/CertificateRenewal'>", "</a>");
|
printf(_("Your certificate request has failed to be processed correctly, see %sthe WIKI page%s for reasons and solutions."), "<a href='https://wiki.cacert.org/wiki/FAQ/CertificateRenewal'>", "</a>");
|
||||||
} else {
|
} else {
|
||||||
printf(_("Certificate for '%s' has been renewed."), $row['CN']);
|
printf(_("Certificate for '%s' has been renewed."), $row['CN']);
|
||||||
echo "<br/>\n<a href='account.php?id=6&cert=$newid' target='_new'>".
|
echo "<br/>\n<a href='account.php?id=6&cert=$newid' target='_new'>".
|
||||||
|
@ -1656,7 +1656,7 @@ function buildSubjectFromSession() {
|
||||||
if(mysql_num_rows($res) <= 0)
|
if(mysql_num_rows($res) <= 0)
|
||||||
{
|
{
|
||||||
showheader(_("My CAcert.org Account!"));
|
showheader(_("My CAcert.org Account!"));
|
||||||
printf(_("Your certificate request has failed to be processed correctly, see %sthe WIKI page%s for reasons and solutions."), "<a href='http://wiki.cacert.org/wiki/FAQ/CertificateRenewal'>", "</a>");
|
printf(_("Your certificate request has failed to be processed correctly, see %sthe WIKI page%s for reasons and solutions."), "<a href='https://wiki.cacert.org/wiki/FAQ/CertificateRenewal'>", "</a>");
|
||||||
showfooter();
|
showfooter();
|
||||||
exit;
|
exit;
|
||||||
} else {
|
} else {
|
||||||
|
@ -1912,7 +1912,7 @@ function buildSubjectFromSession() {
|
||||||
if(!file_exists($_SESSION['_config']['tmpfname']))
|
if(!file_exists($_SESSION['_config']['tmpfname']))
|
||||||
{
|
{
|
||||||
showheader(_("My CAcert.org Account!"));
|
showheader(_("My CAcert.org Account!"));
|
||||||
printf(_("Your certificate request has failed to be processed correctly, see %sthe WIKI page%s for reasons and solutions."), "<a href='http://wiki.cacert.org/wiki/FAQ/CertificateRenewal'>", "</a>");
|
printf(_("Your certificate request has failed to be processed correctly, see %sthe WIKI page%s for reasons and solutions."), "<a href='https://wiki.cacert.org/wiki/FAQ/CertificateRenewal'>", "</a>");
|
||||||
showfooter();
|
showfooter();
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
@ -2010,7 +2010,7 @@ function buildSubjectFromSession() {
|
||||||
if(mysql_num_rows($res) <= 0)
|
if(mysql_num_rows($res) <= 0)
|
||||||
{
|
{
|
||||||
showheader(_("My CAcert.org Account!"));
|
showheader(_("My CAcert.org Account!"));
|
||||||
printf(_("Your certificate request has failed to be processed correctly, see %sthe WIKI page%s for reasons and solutions.")." CSRid: $CSRid", "<a href='http://wiki.cacert.org/wiki/FAQ/CertificateRenewal'>", "</a>");
|
printf(_("Your certificate request has failed to be processed correctly, see %sthe WIKI page%s for reasons and solutions.")." CSRid: $CSRid", "<a href='https://wiki.cacert.org/wiki/FAQ/CertificateRenewal'>", "</a>");
|
||||||
showfooter();
|
showfooter();
|
||||||
exit;
|
exit;
|
||||||
} else {
|
} else {
|
||||||
|
@ -2082,7 +2082,7 @@ function buildSubjectFromSession() {
|
||||||
$res = mysql_query($query);
|
$res = mysql_query($query);
|
||||||
if(mysql_num_rows($res) <= 0)
|
if(mysql_num_rows($res) <= 0)
|
||||||
{
|
{
|
||||||
printf(_("Your certificate request has failed to be processed correctly, see %sthe WIKI page%s for reasons and solutions.")." newid: $newid", "<a href='http://wiki.cacert.org/wiki/FAQ/CertificateRenewal'>", "</a>");
|
printf(_("Your certificate request has failed to be processed correctly, see %sthe WIKI page%s for reasons and solutions.")." newid: $newid", "<a href='https://wiki.cacert.org/wiki/FAQ/CertificateRenewal'>", "</a>");
|
||||||
} else {
|
} else {
|
||||||
$drow = mysql_fetch_assoc($res);
|
$drow = mysql_fetch_assoc($res);
|
||||||
$crtname = escapeshellarg($drow['crt_name']);
|
$crtname = escapeshellarg($drow['crt_name']);
|
||||||
|
@ -2892,7 +2892,7 @@ function buildSubjectFromSession() {
|
||||||
if(mysql_num_rows($res) <= 0)
|
if(mysql_num_rows($res) <= 0)
|
||||||
{
|
{
|
||||||
showheader(_("My CAcert.org Account!"));
|
showheader(_("My CAcert.org Account!"));
|
||||||
printf(_("Your certificate request has failed to be processed correctly, see %sthe WIKI page%s for reasons and solutions."), "<a href='http://wiki.cacert.org/wiki/FAQ/CertificateRenewal'>", "</a>");
|
printf(_("Your certificate request has failed to be processed correctly, see %sthe WIKI page%s for reasons and solutions."), "<a href='https://wiki.cacert.org/wiki/FAQ/CertificateRenewal'>", "</a>");
|
||||||
showfooter();
|
showfooter();
|
||||||
exit;
|
exit;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue