summaryrefslogtreecommitdiff
path: root/program/steps/mail/compose.inc
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2007-05-18 11:29:25 +0000
committerthomascube <thomas@roundcube.net>2007-05-18 11:29:25 +0000
commit8d07583f3920f27186ccc16ea1ecb49104f1e32d (patch)
treed78dc7781c357e9323313585c1cb20104a3a61ee /program/steps/mail/compose.inc
parent3c3b3517c1d806c1602d09b216348954f17a8750 (diff)
Use HTTP-POST requests for actions that change application state
Diffstat (limited to 'program/steps/mail/compose.inc')
-rw-r--r--program/steps/mail/compose.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/mail/compose.inc b/program/steps/mail/compose.inc
index 4e73b4ba1..a956ecffc 100644
--- a/program/steps/mail/compose.inc
+++ b/program/steps/mail/compose.inc
@@ -29,7 +29,7 @@ define('RCUBE_COMPOSE_DRAFT', 0x0108);
// remove an attachment
-if ($_action=='remove-attachment' && preg_match('/^rcmfile([0-9]+)$/', $_GET['_file'], $regs))
+if ($_action=='remove-attachment' && preg_match('/^rcmfile([0-9]+)$/', $_POST['_file'], $regs))
{
$id = $regs[1];
if (is_array($_SESSION['compose']['attachments'][$id]))