6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
8/12/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#704] iCalendar.php cannot parse its own VCALENDAR component
*
Your Email Address
*
Spam protection
Enter the letters below:
. . .. ,.__ __ |__| | \./ [__)/ ` | |\__| | | \__.
Comment
> The generated VCALENDAR does not end with \r\n, yet it is expected in > the itip parsing. > > > > Thing is, this is a very prominent problem as it would prevent > importing invitations. So am I missing something, in configs or prefs? > > > > In any case, there's a simple fix. > > cvs diff -u -r HEAD framework/iCalendar/iCalendar.php > > Index: framework/iCalendar/iCalendar.php > > =================================================================== > > RCS file: /repository/framework/iCalendar/iCalendar.php,v > > retrieving revision 1.53 > > diff -u -r1.53 iCalendar.php > > --- framework/iCalendar/iCalendar.php 24 Sep 2004 03:34:43 -0000 1.53 > > +++ framework/iCalendar/iCalendar.php 16 Oct 2004 04:42:28 -0000 > > @@ -408,7 +408,7 @@ > > if ($clear) { > > $this->clear(); > > } > > - if (preg_match('/(BEGIN:' . $base . '\r?\n)([\W\w]*)(END:' . > $base . '\r?\n?)/i', $text, $matches)) { > > + if (preg_match('/(BEGIN:' . $base . '\r?\n?)([\W\w]*)(END:' > . $base . '\r?\n?)/i', $text, $matches)) { > > $vCal = $matches[2]; > > } else { > > // Text isn't enclosed in BEGIN:VCALENDAR > > > >
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