Jelajahi Sumber

Fixed problem with & in javascript url for Sending Receipt

Pontus Ullgren 23 tahun lalu
induk
melakukan
61ba941a81
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      src/read_body.php

+ 2 - 2
src/read_body.php

@@ -851,7 +851,7 @@ if ($default_use_mdn) {
             // if no MDNsupport don't use the annoying popup messages
             // if no MDNsupport don't use the annoying popup messages
             else if (  !$FirstTimeSee ) {
             else if (  !$FirstTimeSee ) {
                 $sendreceipt = 'send';
                 $sendreceipt = 'send';
-                $url = "\"read_body.php?mailbox=$mailbox&passed_id=$passed_id&startMessage=$startMessage&show_more=$show_more&sendreceipt=$sendreceipt\"";
+                $url = "\"read_body.php?mailbox=$mailbox&passed_id=$passed_id&startMessage=$startMessage&show_more=$show_more&sendreceipt=$sendreceipt\"";
                 echo       '<TR>' .
                 echo       '<TR>' .
                             "<TD BGCOLOR=\"$color[9]\"  ALIGN=RIGHT VALIGN=TOP>" .
                             "<TD BGCOLOR=\"$color[9]\"  ALIGN=RIGHT VALIGN=TOP>" .
                                 _("Read receipt") . ': ' .
                                 _("Read receipt") . ': ' .
@@ -864,7 +864,7 @@ if ($default_use_mdn) {
             }
             }
             else {
             else {
                 $sendreceipt = 'send';
                 $sendreceipt = 'send';
-                $url = "\"read_body.php?mailbox=$mailbox&amp;passed_id=$passed_id&amp;startMessage=$startMessage&amp;show_more=$show_more&amp;sendreceipt=$sendreceipt\"";
+                $url = "\"read_body.php?mailbox=$mailbox&passed_id=$passed_id&startMessage=$startMessage&show_more=$show_more&sendreceipt=$sendreceipt\"";
                 if ($javascript_on) {
                 if ($javascript_on) {
                 echo "<script language=\"javascript\" type=\"text/javascript\">  \n" .
                 echo "<script language=\"javascript\" type=\"text/javascript\">  \n" .
                     '<!-- ' . "\n" .
                     '<!-- ' . "\n" .