[Pkg-owncloud-commits] [owncloud] 12/16: logging changes

David Prévot taffit at moszumanska.debian.org
Wed Mar 11 15:49:31 UTC 2015


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

taffit pushed a commit to annotated tag v5.0.19
in repository owncloud.

commit eea96298951805dfc6eb9f58ccb172b5a718e7e2
Author: Craig Morrissey <craig at owncloud.com>
Date:   Fri Nov 7 12:49:24 2014 -0500

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

diff --git a/lib/user.php b/lib/user.php
index 690205f..9bb46dd 100644
--- a/lib/user.php
+++ b/lib/user.php
@@ -247,6 +247,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);
+
 		$run = true;
 		OC_Hook::emit( "OC_User", "pre_login", array( "run" => &$run, "uid" => $uid ));
 

-- 
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