vCal output not RFC 1521 (Quoted-Printable) Compliant.
Brought to you by:
sewald
There are a number of characters that must be formatted
to meet the RFC 1521 definition for Quoted-Printable
text in a vCalendar file.
While most of the characters are captured, some are not.
The = sign is abig one that is missed. Since it is
used in A HREF tags in HTML, these will often be
missed. I would insert before line 66 in Util.pm:
$_[1]->{desctext} =~ s/=/=3D/g;
Here's where the code is:
(64)sub vcal {
(65)my $self =shift || 0;
# INSERT HERE
(66)$_[1]->{desctext} =~ s/(<br>|<BR>)//g;
(67)$_[1]->{desctext} =~ s/\n/=0A/g;
(68)$_[1]->{desctext} =~ s/\r//g;
Logged In: YES
user_id=407493
This first file (event-bad.vcs) is an example of a poorly
formatted output file. Note how the = sign in the A HREF=""
tags are left as =.
Logged In: YES
user_id=407493
This file (event-good.vcs) shows a file formatted as a much
more RFC 1521 compliant file. Note how the = sign in A
HREF="" has been replaced with A HREF=3D""