Ticket #3090: mutt-3090.patch

File mutt-3090.patch, 0.9 kB (added by Aron Griffis, 5 months ago)

Added by email2trac

  • parse.c

    # HG changeset patch
    # User Aron Griffis <aron@hp.com>
    # Date 1215117037 14400
    # Branch HEAD
    # Node ID d3ad5eb552b481627c3c441df19737702fc464a3
    # Parent  f72fce68ca1922a321ee7351f656c4f7e1670947
    Tolerate In-Reply-To with more than one @ sign.  Closes #3090
    
    diff -r f72fce68ca19 -r d3ad5eb552b4 parse.c
    a b  
    131131    if (new) 
    132132    { 
    133133      /* make sure that this really does look like a message-id. 
    134        * it should have exactly one @, and if we're looking at 
     134       * it should have an @, and if we're looking at 
    135135       * an in-reply-to header, make sure that the part before 
    136136       * the @ has more than eight characters or it's probably 
    137137       * an email address 
    138138       */ 
    139       if (!(at = strchr (new, '@')) || strchr (at + 1, '@') 
     139      if (!(at = strchr (new, '@')) 
    140140          || (in_reply_to && at - new <= 8)) 
    141141        FREE (&new); 
    142142      else