Fix URL to send read receipts from read_body (#1637572),
authorkink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 18 Jan 2007 15:19:38 +0000 (15:19 +0000)
committerkink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 18 Jan 2007 15:19:38 +0000 (15:19 +0000)
thanks to Ce1ta

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12142 7612ce4b-ef26-0410-bec9-ea0150e637f0

ChangeLog
src/read_body.php

index b286b0a..84074c9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -178,6 +178,7 @@ Version 1.5.2 - SVN
   - Fixed HttpOnly cookies again.
   - Update for switch from CVS to Subversion.
   - Default provider URI link fixed (was broken when on plugin options pages, etc)
+  - Fix URL to send read receipts from read_body (#1637572).
 
 Version 1.5.1 (branched on 2006-02-12)
 --------------------------------------
index 48b95ba..e64b001 100644 (file)
@@ -388,10 +388,10 @@ function formatEnvheader($aMailbox, $passed_id, $passed_ent_id, $message,
         if ($mdn_user_support) {
             if ($header->dnt) {
                 $mdn_url = $PHP_SELF;
-                $mdn_url = set_url_var($PHP_SELF, 'mailbox', urlencode($mailbox));
-                $mdn_url = set_url_var($PHP_SELF, 'passed_id', $passed_id);
-                $mdn_url = set_url_var($PHP_SELF, 'passed_ent_id', $passed_ent_id);
-                $mdn_url = set_url_var($PHP_SELF, 'sendreceipt', 1);
+                $mdn_url = set_url_var($mdn_url, 'mailbox', urlencode($mailbox));
+                $mdn_url = set_url_var($mdn_url, 'passed_id', $passed_id);
+                $mdn_url = set_url_var($mdn_url, 'passed_ent_id', $passed_ent_id);
+                $mdn_url = set_url_var($mdn_url, 'sendreceipt', 1);
 
                 $oTemplate->assign('read_receipt_sent', $message->is_mdnsent);
                 $oTemplate->assign('first_time_reading', $FirstTimeSee);