Article View: comp.mail.mush
Article #694Re: Quotes in addresses
From: Pat Barron
Date: Fri, 22 Feb 1991 05:10
Date: Fri, 22 Feb 1991 05:10
16 lines
1283 bytes
1283 bytes
In article <8391@exodus.Eng.Sun.COM> jss@greeble.Eng.Sun.COM (Josh Sirota) writes: >According to RFC822 (at least as I interpret it), comments are delimited >by *parentheses*, not by double quotes, yet the mush man page (and the >code, in get_name_n_addr()) imply that double quotes are treated just like >parentheses. If mush does this, it's RFC822 parser is broken. Double-quotes do *not* delimit comments. Parentheses, in general, do delimit comments, but not always (for instance, when they appear inside double-quotes....). RFC822 (as amended by the Host Requirements RFC) gives a grammar for addresses. Any address parser should interpret addresses with respect to the grammar, rather than making blanket (wrong) assumptions like "double-quotes always delimit comments". --Pat.
Technical Details
Message-ID:
<304@orac.pgh.pa.us>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!ncar!zaphod.mps.ohio-state.edu!unix.cis.pitt.edu!dsinc!netnews.upenn.edu!cert!orac!patReferences:
<8391@exodus.Eng.Sun.COM>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!ncar!zaphod.mps.ohio-state.edu!unix.cis.pitt.edu!dsinc!netnews.upenn.edu!cert!orac!pat From: pat@orac.pgh.pa.us (Pat Barron) Newsgroups: comp.mail.mush Subject: Re: Quotes in addresses Message-ID: <304@orac.pgh.pa.us> Date: 22 Feb 91 05:10:22 GMT References: <8391@exodus.Eng.Sun.COM> Reply-To: pat@orac.UUCP (Pat Barron) Organization: Pat's Sun-2/120 Lines: 16