Revision: 2278
http://mrbs.svn.sourceforge.net/mrbs/?rev=2278&view=rev
Author: jberanek
Date: 2012-03-26 14:28:34 +0000 (Mon, 26 Mar 2012)
Log Message:
-----------
* Fixed sql_escape() usage so that the correct escape routine
is used for the database system in use for 'db_ext' auth scheme.
Modified Paths:
--------------
mrbs/trunk/web/auth_db_ext.inc
Modified: mrbs/trunk/web/auth_db_ext.inc
===================================================================
--- mrbs/trunk/web/auth_db_ext.inc 2012-03-26 09:25:53 UTC (rev 2277)
+++ mrbs/trunk/web/auth_db_ext.inc 2012-03-26 14:28:34 UTC (rev 2278)
@@ -50,7 +50,7 @@
$auth['db_ext']['db_password'],
$auth['db_ext']['db_name']);
- $user = sql_escape($user);
+ $user = sql_escape($user, $conn);
$query = "SELECT " . $auth['db_ext']['column_name_password'] .
" FROM " . $auth['db_ext']['db_table'] .
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits