Re: empty quoted strings and other oddities

Keith Moore <moore@cs.utk.edu> Fri, 04 October 2002 14:46 UTC

Received: (from majordomo@localhost) by above.proper.com (8.11.6/8.11.3) id g94Ekvt11161 for ietf-822-bks; Fri, 4 Oct 2002 07:46:57 -0700 (PDT)
Received: from astro.cs.utk.edu (astro.cs.utk.edu [160.36.58.43]) by above.proper.com (8.11.6/8.11.3) with ESMTP id g94Ekuv11157 for <ietf-822@imc.org>; Fri, 4 Oct 2002 07:46:56 -0700 (PDT)
Received: from astro.cs.utk.edu (localhost [127.0.0.1]) by astro.cs.utk.edu (cf 8.9.3) with ESMTP id g94Ekr009973; Fri, 4 Oct 2002 10:46:53 -0400 (EDT)
Message-Id: <200210041446.g94Ekr009973@astro.cs.utk.edu>
X-URI: http://www.cs.utk.edu/~moore/
From: Keith Moore <moore@cs.utk.edu>
To: blilly@erols.com
cc: Keith Moore <moore@cs.utk.edu>, ietf-822@imc.org
Subject: Re: empty quoted strings and other oddities
In-reply-to: (Your message of "Thu, 03 Oct 2002 19:19:52 EDT.") <3D9CD098.9010200@alex.blilly.com>
Date: Fri, 04 Oct 2002 10:46:53 -0400
Sender: owner-ietf-822@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-822/mail-archive/>
List-ID: <ietf-822.imc.org>
List-Unsubscribe: <mailto:ietf-822-request@imc.org?body=unsubscribe>

> > second, your conclusion doesn't follow even if
> > it is a boundary condition - all that is necessary is that it not cause
> > any problems.
> 
> An MTA or MUA that does not handle [] well may indeed cause
> problems.

sure, but the same is true of an MTA or MUA that doesn't handle
any invalid address well.  on the other hand, passing the "" 
within the [] to inet_aton() should return an error code for invalid
address,  just as for any other invalid address.  if that's not the
case, the problem is in the system library, not the MTA or MUA.