Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#1487744 closed Bugs (fixed)

"Archived-At" email header is not displayed

Reported by: vivien Owned by: thomasb
Priority: 5 Milestone: 0.5.1
Component: Plugins Version: 0.5
Severity: normal Keywords: archived-at
Cc:

Description

If Roundcube is configured to display the Archived-At header using the show_additional_headers plugin (see configuration below), then only the header name will be displayed but not its value.

$rcmail_config['plugins'] = array('show_additional_headers');

// show_additional_headers plugin
$rcmail_config['show_additional_headers'] = array('Archived-At');

Example from the source of real email (attached to that ticket):

Archived-At:
 <http://www.w3.org/mid/1275379104.2602.2.camel@han-solo.doky.org>

The syntax of the "Archived-At" (and "X-Archived-At") header is defined in RFC5064:

   More formally, the header field is defined as follows in Augmented
   BNF (ABNF) according to [RFC4234]:

      archived-at = "Archived-At:" [FWS] "<" folded-URI ">" CRLF
      folded-URI  = <URI, but free insertion of FWS permitted>

   where URI is defined in [STD66], and CRLF and FWS are defined in
   [RFC2822].

   To convert a folded-URI to a URI, first apply standard [RFC2822]
   unfolding rules (replacing FWS with a single SP), and then delete any
   remaining un-encoded SP characters.

Thanks,
Vivien

Attachments (1)

archived-at-example-email.mbox (2.9 KB) - added by vivien 2 years ago.

Download all attachments as: .zip

Change History (4)

Changed 2 years ago by vivien

comment:1 Changed 2 years ago by thomasb

  • Owner set to thomasb
  • Status changed from new to assigned

Confirmed. Header values are not quoted and therefore <...> is treated as html tag.

comment:2 follow-up: Changed 2 years ago by thomasb

  • Component changed from MIME parsing to Plugins
  • Resolution set to fixed
  • Status changed from assigned to closed

Fixed in r4465/svn

comment:3 in reply to: ↑ 2 Changed 2 years ago by vivien

Replying to thomasb:

Fixed in r4465/svn

Thanks for this super-fast answer and bug fix !!!

Note: See TracTickets for help on using tickets.