6.0.0-alpha10
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
5/16/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#2] Carriage Return Line Feed supposed to be a $ in multiline entries in LDAP
*
Your Email Address
*
Spam protection
Enter the letters below:
.___. . __.\ / __. [__ |\/|(__ >< (__ [___| |.__)/ \.__)
Comment
> This patch fixes an issue with Turba 1.2 where it would insert a Carriage > > Return, Line Feed instead of just Line Feed between the lines of a > > multiline entry (ie. home address) This causes a problem with Evolution > > where evolution will not display the entry in the address book if there is > > a carriage return in the entry.. But the entries should only have line > > feeds.. > > > > Patch for Turba 1.2 AND CVS HEAD > > > > > > ------- Additional Comments From urkle@drip.ws 06/17/03 16:45 ------- > > CVS HEAD Patch > > --- ldap.php.orig Fri Jun 13 10:21:15 2003 > > +++ ldap.php Tue Jun 17 14:41:25 2003 > > @@ -302,10 +302,10 @@ > > // Don't add empty attributes. > > $attributes = array_filter($attributes, array($this, > > 'cleanEmptyAttributes')); > > > > - // Encode entries. > > + // Encode entries & do CRLF to LF conversion > > foreach ($attributes as $key => $val) { > > if (!is_array($val)) { > > - $attributes[$key] = String::convertCharset($val, > > NLS::getCharset(), $this->charset); > > + $attributes[$key] = > > String::convertCharset(str_replace("\r\n",\n",$val), NLS::getCharset(), > > $this->charset); > > } > > } > > > > @@ -377,7 +377,7 @@ > > // Encode entries. > > foreach ($attributes as $key => $val) { > > if (!is_array($val)) { > > - $attributes[$key] = String::convertCharset($val, > > NLS::getCharset(), $this->charset); > > + $attributes[$key] = > > String::convertCharset(str_replace("\r\n","\n",$val), NLS::getCharset(), > > $this->charset); > > } > > } > >
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