#210 removed old workaround that causes issues with spaces in DN
This commit is contained in:
		
							parent
							
								
									714dbaa0fd
								
							
						
					
					
						commit
						83a0ff71c9
					
				|  | @ -673,7 +673,6 @@ function get_preg($argument, $regexp) { | ||||||
|  * @return String escaped DN |  * @return String escaped DN | ||||||
|  */ |  */ | ||||||
| function escapeDN($dn) { | function escapeDN($dn) { | ||||||
| 	$dn = preg_replace('/[ ]*,[ ]*/', ',', $dn); |  | ||||||
| 	return str_replace( | 	return str_replace( | ||||||
| 		array(')',    '(',    ' ',    '*'), | 		array(')',    '(',    ' ',    '*'), | ||||||
| 		array('\\29', '\\28', '\\20', '\\2a'), | 		array('\\29', '\\28', '\\20', '\\2a'), | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue