[Pkg-owncloud-commits] [owncloud] 33/34: logging changes

David Prévot taffit at moszumanska.debian.org
Thu Nov 13 19:37:15 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to annotated tag v6.0.6
in repository owncloud.

commit 3cb244dd2381bbfba66616ec71cfc775bea19d0d
Author: Craig Morrissey <craig at owncloud.com>
Date:   Fri Nov 7 12:47:06 2014 -0500

    logging changes
---
 lib/private/user.php | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lib/private/user.php b/lib/private/user.php
index c652468..d3cf1c0 100755
--- a/lib/private/user.php
+++ b/lib/private/user.php
@@ -229,6 +229,9 @@ class OC_User {
 	 * Log in a user and regenerate a new session - if the password is ok
 	 */
 	public static function login($uid, $password) {
+		$uid = str_replace("\0", '', $uid);
+		$password = str_replace("\0", '', $password);
+
 		session_regenerate_id(true);
 		return self::getUserSession()->login($uid, $password);
 	}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list