[Openupload-svn-update] SF.net SVN: openupload:[339] branches/v0.4/lib/user.inc.php
Status: Beta
Brought to you by:
tsdogs
|
From: <ts...@us...> - 2009-08-28 12:58:18
|
Revision: 339
http://openupload.svn.sourceforge.net/openupload/?rev=339&view=rev
Author: tsdogs
Date: 2009-08-28 12:58:04 +0000 (Fri, 28 Aug 2009)
Log Message:
-----------
remove wrongly handled magic quotes from here.
Modified Paths:
--------------
branches/v0.4/lib/user.inc.php
Modified: branches/v0.4/lib/user.inc.php
===================================================================
--- branches/v0.4/lib/user.inc.php 2009-08-28 12:57:27 UTC (rev 338)
+++ branches/v0.4/lib/user.inc.php 2009-08-28 12:58:04 UTC (rev 339)
@@ -72,11 +72,6 @@
if (isset($_POST['username'])) {
$username = $_POST['username'];
$password = $_POST['pwd'];
- if (ini_get('magic_quotes_gpc')) {
- /* remove magic quoting from username and password */
- $username = stripslashes($username);
- $password = stripslashes($password);
- }
}
if ($username != '') {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|