diff options
author | Gilles Chehade <gilles@cvs.openbsd.org> | 2009-12-31 15:37:56 +0000 |
---|---|---|
committer | Gilles Chehade <gilles@cvs.openbsd.org> | 2009-12-31 15:37:56 +0000 |
commit | 5ba9eb49ecd85f9b9ca1f202d81eb577548462cb (patch) | |
tree | 6c42647d6b8201e4992330935f99a14f3b644bf2 /distrib/armish | |
parent | e4a9fa1df41cf5958271c8e82af5c52664f5b056 (diff) |
when separating command from parameters in smtp session, the parser tries
to use ':' as a separator then fallbacks to ' ' so that it can detect the
command names that contain more than one words (MAIL FROM and RCPT TO) or
the one word ones (HELO, DATA, ...).
this is incorrect and the parser can get confused if the parameter to any
command contains a ':', for example "HELO [ipv6:...]" cause the parser to
lookup for command "HELO [ipv6".
fix this by using ':' as a delimiter for 'mail from' and 'rcpt to', while
using ' ' as a delimiter for all other commands.
fixes bug 6285/system reported by Lionel Le Folgoc <lionel@lefolgoc.net>
Diffstat (limited to 'distrib/armish')
0 files changed, 0 insertions, 0 deletions