Re: Quoted pairs in the test suite
"Stuart D. Gathman" <[email protected]> Mon, 14 Apr 2008 11:26:41 -0400 (EDT)
| Newsgroups | gmane.mail.spam.spf.devel |
|---|---|
| Message-ID | <[email protected]> |
On Mon, 14 Apr 2008, Frank Ellermann wrote:
> Hi, does the SPF test suite cover oddities like
> MAIL FROM:<"\b\a\c\k\s\l\a\s\h"@test.example"> ?
>
> In the SPF I18N entry of the FAQ I claim that
> implementations will evaluate a %{l} local part
> macro as "backslash" (without the quotes), but
> actually I'm far from sure that implementations
> get <quoted-pair> within <quoted-string> right.
Good question. So what is the right expansion for %{l}:
1) backslash
2) \b\a\c\k\s\l\a\s\h
3) "\b\a\c\k\s\l\a\s\h"
4) any of the above
You could argue that %{l}@%{d} (in an exp, for example) should be a
syntactically valid email. And leaving the quotes intact would be the
easiest way to ensure that.
--
Stuart D. Gathman <[email protected]>
Business Management Systems Inc. Phone: 703 591-0911 Fax: 703 591-6154
"Confutatis maledictis, flammis acribus addictis" - background song for
a Microsoft sponsored "Where do you want to go from here?" commercial.