[debian-edu-commits] debian-edu/pkg-team/ 03/08: debian/patches: Add 0004_fix-get-post.patch. Fix transferral of POST variables.

Mike Gabriel sunweaver at debian.org
Mon Aug 24 19:49:46 UTC 2015


This is an automated email from the git hooks/post-receive script.

sunweaver pushed a commit to branch debian/jessie/updates
in repository gosa.

commit e385f930296adbad4496cbffac46946c8bfe020c
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Mon Aug 24 06:49:08 2015 +0200

    debian/patches: Add 0004_fix-get-post.patch. Fix transferral of POST variables.
---
 debian/patches/0004_fix-get-post.patch | 14 ++++++++++++++
 debian/patches/series                  |  1 +
 2 files changed, 15 insertions(+)

diff --git a/debian/patches/0004_fix-get-post.patch b/debian/patches/0004_fix-get-post.patch
new file mode 100644
index 0000000..b7d9a9a
--- /dev/null
+++ b/debian/patches/0004_fix-get-post.patch
@@ -0,0 +1,14 @@
+Description: Fix get_post for non-strings
+Origin: https://oss.gonicus.de/labs/gosa/changeset/21181/trunk
+
+--- a/gosa-core/include/functions.inc
++++ b/gosa-core/include/functions.inc
+@@ -2757,7 +2757,7 @@
+         } else {
+           $tmp = $_POST;
+         }
+-        return($tmp);
++        return($tmp[$name]);
+     }else{
+ 
+         if(version_compare(PHP_VERSION, '5.4.0', '<') && get_magic_quotes_gpc()){
diff --git a/debian/patches/series b/debian/patches/series
index 5e4756b..d6c6bf8 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,6 +1,7 @@
 0001_smarty3.patch
 0002_style-robustness.patch
 0003_xss-vulnerability-on-login-screen.patch
+0004_fix-get-post.patch
 1001_fix-mass-ldapimport.patch
 1002_trim-decrypt.patch
 1003_RequestHeader-no-underscores-apache24.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/pkg-team/gosa.git



More information about the debian-edu-commits mailing list