6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
8/15/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#6539] Handling missing ENCODING parameter in iCal date
*
Your Email Address
*
Spam protection
Enter the letters below:
.___..___.. ,\ /. . | | \./ >< |\ | | | | / \| \|
Comment
> iCalendar.php unfolds QUOTED-PRINTABLE encoded lines before parsing them. > > > > The parameter ENCODING=QUOTED-PRINTABLE is expected in these lines. > > > > A blackberry with SyncJe delivers lines like this during a SyncML run: > > > > N;QUOTED-PRINTABLE;CHARSET=UTF-8:Euro=E2=82=AC;Lars=E2=82=AC > > > > ENCODING= is missing here. From the format specs I guess the client > is broken. > > > > But iCalendar.php seems to support such broken clients: > > > > if ((isset($params['ENCODING']) > > && String::upper($params['ENCODING']) == > 'QUOTED-PRINTABLE') > > || isset($params['QUOTED-PRINTABLE'])) { > > > > $value = quoted_printable_decode($value); > > > > isset($params['QUOTED-PRINTABLE']) allows to specify QUOTED-PRINTABLE > as parameter without the leading ENCODING. > > > > If iCalendar.php should support this then I'd suggest to apply the > attached patch to correct unfolding.
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