6.0.0-beta13
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
4/11/26
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#1146] doesn't properly quote
*
Your Email Address
*
Spam protection
Enter the letters below:
.__.. . ..___.. . | |\ / | _/ |\/| |__\ \/ \__|./__.| |
Comment
> If the entry has a comma in it (for example, lastname, firstname), it > doesn't properly quote the string. The following fixes this: > > > > > > > > --- /tmp/ldap.php.org 2005-01-13 08:37:13.727402078 -0600 > > +++ ldap.php 2005-01-13 08:31:39.689948716 -0600 > > @@ -290,7 +290,11 @@ > > $newrdn = ''; > > foreach ($this->_params['dn'] as $param) { > > if (isset($attributes[$param])) { > > - $newrdn .= $param . '=' . $attributes[$param] . ','; > > + if (strpos($attributes[$param],',') === false) { > > + $newrdn .= $param . '=' . > $attributes[$param] . ','; > > + } else { > > + $newrdn .= $param . '="' . $attributes[$param] . '",'; > > + } > > } > > } > > $newrdn = substr($newrdn, 0, -1); > >
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers