From a0151bd5a1f252c434f73e5585c2e0d3e2b0bbb9 Mon Sep 17 00:00:00 2001 From: Christian Boltz Date: Sun, 15 May 2016 21:14:01 +0000 Subject: [PATCH] functions.inc.php: - pacrypt(): don't stripslashes($pw) because this breaks passwords with backslashes. This stripslashes() existed since forever, but probably became harmful with all the rewrites in the last years. https://sourceforge.net/p/postfixadmin/bugs/349/ git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1838 a1433add-5e2c-0410-b055-b7f2511e0802 --- functions.inc.php | 1 - 1 file changed, 1 deletion(-) diff --git a/functions.inc.php b/functions.inc.php index 7053696c..db74f1cc 100644 --- a/functions.inc.php +++ b/functions.inc.php @@ -866,7 +866,6 @@ function validate_password($password) { */ function pacrypt ($pw, $pw_db="") { global $CONF; - $pw = stripslashes($pw); $password = ""; $salt = "";