From: Domas Mituzas Date: Mon, 6 Sep 2004 06:58:53 +0000 (+0000) Subject: oops, register_globals security flaw X-Git-Tag: 1.5.0alpha1~2092 X-Git-Url: http://git.cyclocoop.org/wiki/Target_page?a=commitdiff_plain;h=2102ffc309744cb543ca5a308a1b4d2d3a5f63cf;p=lhc%2Fweb%2Fwiklou.git oops, register_globals security flaw --- diff --git a/includes/DatabasePostgreSQL.php b/includes/DatabasePostgreSQL.php index 45aaedee86..88af0dea31 100644 --- a/includes/DatabasePostgreSQL.php +++ b/includes/DatabasePostgreSQL.php @@ -63,6 +63,7 @@ class DatabasePgsql extends Database { if ( '' != $dbName ) { # start a database connection + $hstring=""; if ($server!=false && $server!="") { $hstring="host=$server "; }