Pārlūkot izejas kodu

Delete requests can come via GET or POST

pdontthink 16 gadi atpakaļ
vecāks
revīzija
8ee030800c
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      functions/mailbox_display.php

+ 1 - 1
functions/mailbox_display.php

@@ -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)