Ah, I see - the stuff after the ? needs to be handed to src/compose.php as-is, no...
[squirrelmail.git] / plugins / message_details / message_details_main.php
index 72f309e04ee15d945f15458c2f7b290a01df2b3f..22d8629e83c6faccca962745f50109c26b26ad09 100644 (file)
@@ -6,8 +6,8 @@
  * Plugin to view the RFC822 raw message output and the bodystructure of a message
  *
  * @author Marc Groot Koerkamp
- * @copyright © 2002 Marc Groot Koerkamp, The Netherlands
- * @copyright © 2002-2007 The SquirrelMail Project Team
+ * @copyright 2002 Marc Groot Koerkamp, The Netherlands
+ * @copyright 2002-2015 The SquirrelMail Project Team
  * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
  * @package plugins
@@ -22,7 +22,7 @@ require('../../include/init.php');
 displayHtmlHeader( _("Message Details"), '', FALSE );
 
 sqgetGlobalVar('mailbox', $mailbox, SQ_GET);
-sqgetGlobalVar('passed_id', $passed_id, SQ_GET);
+sqgetGlobalVar('passed_id', $passed_id, SQ_GET, NULL, SQ_TYPE_BIGINT);
 if (!sqgetGlobalVar('passed_ent_id', $passed_ent_id, SQ_GET))
     $passed_ent_id = 0;
 
@@ -36,4 +36,3 @@ echo '<frame src="message_details_bottom.php?mailbox=' . urlencode($mailbox)
     . '&amp;passed_ent_id=' . $passed_ent_id
     . '" name="bottom_frame" frameborder="0" />';
 echo  '</frameset>'."\n"."</html>\n";
-?>