[geeklog-cvs] geeklog: also blank out OAuth consumer key when displaying the r...
geeklog-cvs at lists.geeklog.net
geeklog-cvs at lists.geeklog.net
Mon Sep 26 08:06:00 EDT 2011
changeset 8426:d2cb7ed068b2
url: http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/d2cb7ed068b2
user: Dirk Haun <dirk at haun-online.de>
date: Mon Sep 26 13:19:41 2011 +0200
description:
also blank out OAuth consumer key when displaying the rootdebug error screen to a non-Root user
diffstat:
public_html/lib-common.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 0c05e3b0e0d5 -r d2cb7ed068b2 public_html/lib-common.php
--- a/public_html/lib-common.php Sun Sep 25 22:24:26 2011 +0200
+++ b/public_html/lib-common.php Mon Sep 26 13:19:41 2011 +0200
@@ -7103,7 +7103,7 @@
$blankField = false;
while(list($key, $value) = each($array)) {
$lkey = strtolower($key);
- if((strpos($lkey, 'pass') !== false) || (strpos($lkey, 'cookie') !== false) || (strpos($lkey, '_consumer_secret') !== false)) {
+ if((strpos($lkey, 'pass') !== false) || (strpos($lkey, 'cookie') !== false) || (strpos($lkey, '_consumer_key') !== false) || (strpos($lkey, '_consumer_secret') !== false)) {
$blankField = true;
} else {
$blankField = $blank;
More information about the geeklog-cvs
mailing list