From: Gonçalo Queirós Date: Tue, 18 Jan 2011 20:52:54 +0000 (+0000) Subject: Bug #9523: Send a full link when sending the email to confirm the identity X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=8e9a736f92368df159c8fd3d2ab12cc5aec45030;p=horde.git Bug #9523: Send a full link when sending the email to confirm the identity Signed-off-by: Michael M Slusarz --- diff --git a/framework/Core/lib/Horde/Core/Prefs/Identity.php b/framework/Core/lib/Horde/Core/Prefs/Identity.php index a24234928..92abe937c 100644 --- a/framework/Core/lib/Horde/Core/Prefs/Identity.php +++ b/framework/Core/lib/Horde/Core/Prefs/Identity.php @@ -40,7 +40,7 @@ class Horde_Core_Prefs_Identity extends Horde_Prefs_Identity $this->_prefs->setValue('confirm_email', serialize($pref)); $new_addr = $this->getValue($this->_prefnames['from_addr'], $id); - $confirm = Horde::getServiceLink('emailconfirm')->add('h', $hash)->setRaw(true); + $confirm = Horde::url(Horde::getServiceLink('emailconfirm'), true)->add('h', $hash)->setRaw(true); $message = sprintf(Horde_Core_Translation::t("You have requested to add the email address \"%s\" to the list of your personal email addresses.\n\nGo to the following link to confirm that this is really your address:\n%s\n\nIf you don't know what this message means, you can delete it."), $new_addr, $confirm);