Delete requests can come via GET or POST
authorpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 17 Aug 2009 23:47:07 +0000 (23:47 +0000)
committerpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 17 Aug 2009 23:47:07 +0000 (23:47 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13829 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/mailbox_display.php

index 66cd62fe183f00880b38cf67c4e1625c37839793..130ed38c0b38b23c98f0ef0cc5613c496b22c4ae 100644 (file)
@@ -1343,7 +1343,7 @@ function handleMessageListForm($imapConnection, &$aMailbox, $sButton='',
 
         // don't do anything to any messages until we have done security check
         // FIXME: not sure this code really belongs here, but there's nowhere else to put it with this architecture
-        sqgetGlobalVar('smtoken', $submitted_token, SQ_GET, '');
+        sqgetGlobalVar('smtoken', $submitted_token, SQ_FORM, '');
         sm_validate_security_token($submitted_token, 3600, TRUE);
 
         // make sure message UIDs are sanitized (BIGINT)