6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
7/19/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#12535] Wrong line unfolding for VCALENDAR 1.0
*
Your Email Address
*
Spam protection
Enter the letters below:
\ /._. .. .\ / >< | ||\/| >< / \_|_\__|| |/ \
Comment
> Unfolding folded lines is done via > $vCal = preg_replace('/[\r\n]+[ \t]/', '', $vCal); > > This is the correct behavior for VCALENDAR 2.0. It is however not > correct for VCALENDAR 1.0: > > http://www.imc.org/pdi/vcal-10.rtf > > "Unfolding is accomplished by regarding CRLF immediately followed by > a LWSP-char as equivalent to the LWSP-char." > > So the \r\n_ (_ meaning whitespace) must be replaced by _ and not > with nothing for vcal1.0. > > A patch is provided as attachment. > > It is possible that exporting vcal1.0 uses the same false assumption. > I didn't check this.
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