View | Details | Raw Unified | Return to bug 3369
Collapse All | Expand All

(-)rfc2047.c.orig (-2 / +2 lines)
Lines 700-711 Link Here
700
  while ((p = strstr (q, "=?")))
700
  while ((p = strstr (q, "=?")))
701
  {
701
  {
702
    for (q = p + 2;
702
    for (q = p + 2;
703
	 0x20 < *q && *q < 0x7f && !strchr ("()<>@,;:\"/[]?.=", *q);
703
	 *q == 0x09 || (0x20 <= *q && *q < 0x7f && !strchr ("()<>@,;:\"/[]?.=", *q));
704
	 q++)
704
	 q++)
705
      ;
705
      ;
706
    if (q[0] != '?' || !strchr ("BbQq", q[1]) || q[2] != '?')
706
    if (q[0] != '?' || !strchr ("BbQq", q[1]) || q[2] != '?')
707
      continue;
707
      continue;
708
    for (q = q + 3; 0x20 < *q && *q < 0x7f && *q != '?'; q++)
708
    for (q = q + 3; *q == 0x09 || (0x20 <= *q && *q < 0x7f && *q != '?'); q++)
709
      ;
709
      ;
710
    if (q[0] != '?' || q[1] != '=')
710
    if (q[0] != '?' || q[1] != '=')
711
    {
711
    {

Return to bug 3369