[patch] small patch for parseemail()

From: Daigo Matsubara <daigo_at_w3.org_at_hypermail-project.org>
Date: Wed, 26 Oct 2005 18:17:54 +0900
Message-ID: <nm88xwgbprx.wl_at_w3.mag.keio.ac.jp>

Hi,

It seems Hypermail doesn't parse "address extension (for example daigo+test_at_w3.org)" correctly, this patch is not perfect but it works.

! #define VALID_IN_EMAIL_USERNAME "a-zA-Z0-9_.%-"
  #define VALID_IN_EMAIL_DOMAINNAME "a-zA-Z0-9.-"

            if (set_iso2022jp) {
--- 1239,1245 ----

            char content[2];
            int backoff = ptr - input;  /* max */

! #define VALID_IN_EMAIL_USERNAME "a-zA-Z0-9.!#$%&'*+-/=?^_`{|}~"
  #define VALID_IN_EMAIL_DOMAINNAME "a-zA-Z0-9.-"

            if (set_iso2022jp) {

-- 
Daigo Matsubara / W3C Systems Team / mailto:daigo_at_w3.org
Received on Wed 26 Oct 2005 04:41:27 PM GMT

This archive was generated by hypermail 2.2.0 : Thu 22 Feb 2007 07:33:55 PM GMT GMT