From aef4f58e8a6a0c0d267e16b6204acd9be8a69d90 Mon Sep 17 00:00:00 2001
From: Benjamin Sonntag
Date: Mon, 23 May 2016 16:08:23 +0200
Subject: [PATCH] [wip] fixing errors brought by the big security changes...
update browser preferences fix + some post/get/request messup + zip not
working properly
---
bureau/admin/adm_login.php | 2 +-
bureau/admin/bro_editor.php | 8 ++++----
bureau/admin/browseforfolder2.php | 6 +++---
bureau/admin/ftp_doedit.php | 4 ++++
bureau/admin/hta_add.php | 2 +-
bureau/class/m_bro.php | 7 ++++---
6 files changed, 17 insertions(+), 12 deletions(-)
diff --git a/bureau/admin/adm_login.php b/bureau/admin/adm_login.php
index 512425ee..8c98d268 100644
--- a/bureau/admin/adm_login.php
+++ b/bureau/admin/adm_login.php
@@ -36,7 +36,7 @@ require_once("../class/config.php");
*/
$fields = array (
- "id" => array ("post", "integer", ""),
+ "id" => array ("get", "integer", ""),
);
getFields($fields);
diff --git a/bureau/admin/bro_editor.php b/bureau/admin/bro_editor.php
index 953c0c54..536ca192 100755
--- a/bureau/admin/bro_editor.php
+++ b/bureau/admin/bro_editor.php
@@ -30,12 +30,12 @@
require_once("../class/config.php");
$fields = array (
- "editfile" => array ("post", "string", ""),
+ "editfile" => array ("request", "string", ""),
"texte" => array ("post", "string", ""),
"save" => array ("post", "string", ""),
"saveret" => array ("post", "string", ""),
"cancel" => array ("post", "string", ""),
- "R" => array ("post", "string", ""),
+ "R" => array ("request", "string", ""),
);
getFields($fields);
@@ -72,7 +72,7 @@ include_once("head.php");
?>
$error
"; ?>
-$R/$editfile
"; ?>
+".ehe($R,false)."/".ehe($editfile,false)."
"; ?>
$content";