[geeklog-cvs] geeklog: Remove '_files_xxx' entries from $_POST when recreating...

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Tue Dec 29 08:00:35 EST 2009


changeset 7550:d160cf7841e5
url:  http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/d160cf7841e5
user: Dirk Haun <dirk at haun-online.de>
date: Sun Dec 27 11:47:41 2009 +0100
description:
Remove '_files_xxx' entries from $_POST when recreating $_FILES

diffstat:

 system/lib-security.php |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r 3bd0cc4f97b8 -r d160cf7841e5 system/lib-security.php
--- a/system/lib-security.php	Sun Dec 27 11:39:51 2009 +0100
+++ b/system/lib-security.php	Sun Dec 27 11:47:41 2009 +0100
@@ -1345,6 +1345,7 @@
                     }
                     $_FILES[$file][$kk] = $kv;
                 }
+                unset($_POST[$key]);
             }
         }
     }



More information about the geeklog-cvs mailing list