Use HTTPs for links in comment notification mails.

Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
Lukas Fleischer 2011-04-19 23:58:32 +02:00
parent 0e5f2e1f1e
commit 1e7b9d570d

View file

@ -35,7 +35,7 @@ if (isset($_REQUEST['comment'])) {
# Simply making these strings translatable won't work, users would be # Simply making these strings translatable won't work, users would be
# getting emails in the language that the user who posted the comment was in # getting emails in the language that the user who posted the comment was in
$body = $body =
'from http://aur.archlinux.org/packages.php?ID=' 'from https://aur.archlinux.org/packages.php?ID='
. $_REQUEST['ID'] . "\n" . $_REQUEST['ID'] . "\n"
. username_from_sid($_COOKIE['AURSID']) . " wrote:\n\n" . username_from_sid($_COOKIE['AURSID']) . " wrote:\n\n"
. $_POST['comment'] . $_POST['comment']