projects
/
phppgadmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82ed178
)
unset $_language in case of malicious entry via url w/ register_globals.
author
Robert Treat
<xzilla@users.sourceforge.net>
Thu, 18 Dec 2008 04:59:17 +0000
(23:59 -0500)
committer
Robert Treat
<xzilla@users.sourceforge.net>
Thu, 18 Dec 2008 04:59:17 +0000
(23:59 -0500)
libraries/lib.inc.php
patch
|
blob
|
blame
|
history
diff --git
a/libraries/lib.inc.php
b/libraries/lib.inc.php
index d425dc15041036c1748823a8bf611026c7654665..fe2d9e6cae1449b17b6e696b2e77f290f64bfe7c 100644
(file)
--- a/
libraries/lib.inc.php
+++ b/
libraries/lib.inc.php
@@
-95,6
+95,8
@@
}
// Determine language file to import:
+ unset($_language);
+
// 1. Check for the language from a request var
if (isset($_REQUEST['language']) && isset($appLangFiles[$_REQUEST['language']]))
$_language = $_REQUEST['language'];