update Sat Mar 6 18:37:00 PST 2010
[pkgsrc.git] / mail / squirrelmail / patches / patch-ar
1 $NetBSD: patch-ar,v 1.1 2010/03/04 16:00:37 taca Exp $
2
3 --- src/delete_message.php.orig 2009-08-18 08:17:41.000000000 +0900
4 +++ src/delete_message.php
5 @@ -78,6 +78,7 @@ $location = get_location();
6  
7  if (isset($where) && isset($what)) {
8      header("Location: $location/search.php?where=" . $where .
9 +           '&smtoken=' . sm_generate_security_token() .
10             '&what=' . $what . '&mailbox=' . urlencode($mailbox));
11  } else {
12      if (!empty($saved_draft) || !empty($mail_sent)) {