From: <var...@us...> - 2021-09-20 11:42:41
|
Revision: 10590 http://sourceforge.net/p/phpwiki/code/10590 Author: vargenau Date: 2021-09-20 11:42:40 +0000 (Mon, 20 Sep 2021) Log Message: ----------- function _stringEscape is private Modified Paths: -------------- trunk/lib/WikiUser/LDAP.php Modified: trunk/lib/WikiUser/LDAP.php =================================================================== --- trunk/lib/WikiUser/LDAP.php 2021-09-20 11:32:14 UTC (rev 10589) +++ trunk/lib/WikiUser/LDAP.php 2021-09-20 11:42:40 UTC (rev 10590) @@ -86,9 +86,9 @@ * * @see http://www.faqs.org/rfcs/rfc4514.html LDAP String Representation of Distinguished Names */ - function _stringEscape($name) + private function _stringEscape($name) { - $name = strtr(utf8_encode($name), + return strtr(utf8_encode($name), array("*" => "\\2a", "?" => "\\3f", "(" => "\\28", @@ -96,7 +96,6 @@ "\\" => "\\5c", '"' => '\"', "\0" => "\\00")); - return $name; } /** This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |