Menu

#4 vCal output not RFC 1521 (Quoted-Printable) Compliant.

open
nobody
None
5
2002-09-09
2002-09-09
No

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;

Discussion

  • Paul Mischler

    Paul Mischler - 2002-09-09
    • summary: vCal fails to create acceptable output --> vCal output not RFC 1521 (Quoted-Printable) Compliant.
     
  • Paul Mischler

    Paul Mischler - 2002-09-09

    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 =.

     
  • Paul Mischler

    Paul Mischler - 2002-09-09

    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""

     

Log in to post a comment.

Monday.com Logo