From 05b8bd10700c6cfa1a70fb1546f4eba9bf3a3e4e Mon Sep 17 00:00:00 2001 From: lazyeugene Date: Mon, 14 Jan 2013 23:24:27 +0200 Subject: [PATCH 1/2] Workaround for "HTTP Error" during upload. $_COOKIE has precedence over $_POST in $_REQUEST, so if flash uploader send a bad cookie it still was presented in $_REQUEST. Change $_REQUEST to $_POST fix this problem. --- _config.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/_config.php b/_config.php index 8c64bd0..4c3d5af 100644 --- a/_config.php +++ b/_config.php @@ -1,5 +1,5 @@ Date: Mon, 14 Jan 2013 23:24:27 +0200 Subject: [PATCH 2/2] Workaround for "HTTP Error" during upload. $_COOKIE has precedence over $_POST when $_REQUEST gets constructed, so if flash uploader sends a bad PHPSESSID cookie, the bad $_COOKIE['PHPSESSID'] was present in $_REQUEST, not the correct $_POST['PHPSESSID']. Changing $_REQUEST to $_POST in _config.php fixes this problem. --- _config.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/_config.php b/_config.php index 8c64bd0..4c3d5af 100644 --- a/_config.php +++ b/_config.php @@ -1,5 +1,5 @@