I assumed that since the "," and "()" are token delimiters they must also
be quoted (escaped).
"Within these constructs, quoting is REQUIRED for CR and "\"
and for the ***character(s) that delimit the token*** (e.g., "(" and
")" for a comment). "
I agree on the wording. I wish the RFC's were just a little more vague.
:c)
Chris
----------------------------------------------
Original Message
From: "Scott Perry"<[EMAIL PROTECTED]>
Subject: Re: [IMail Forum] Something new on malformed headers
Date: Fri, 13 Apr 2001 13:09:18 -0400
>> In particular, quoting is limited to use within:
>>- quoted-string
>>- domain-literal
>>- comment
>>Within these constructs, quoting is REQUIRED for CR and "\"
>>and for the character(s) that delimit the token (e.g., "(" and
>>")" for a comment). However, quoting is PERMITTED for any
>>character."
>>
>>So in your examples, if Outlook requests the envelope for the specified
>>message, then the server *should* quote the parenthesis and the comma (as
>>well as the double-quotes themselves *if* they are stored on the server in
>>that manner)
>
>Actually, my interpretation is that within quotation marks (which is a
quoted-string), you only need
>to quote the CR, "\", and the delimiters if they appear in the string (in
this case, quotation marks).
> So, the parentheses and commas would not need to be quoted in a string.
>
>In real-life use, I've never seen a comma or parenthesis within quotation
marks that was quoted (had
>the "\" before it).
>
>Of course, it would be a lot easier to describe and undersatnd if they
used a term other than "quote"
>for what is done to characters... "I've never seen a comma quoted when in
quotes" just doesn't sound
>right!
>
>
>--
> -Scott
>
>Declude: Anti-virus and Anti-spam solutions for IMail.
http://www.declude.com
>--
>
>Please visit http://www.ipswitch.com/support/mailing-lists.html
>to be removed from this list.
>
>An Archive of this list is available at:
>http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
>
_____________________________________________
Free email with personality! Over 200 domains!
http://www.MyOwnEmail.com
Please visit http://www.ipswitch.com/support/mailing-lists.html
to be removed from this list.
An Archive of this list is available at:
http://www.mail-archive.com/imail_forum%40list.ipswitch.com/