On Thu, Mar 20, 2014 at 08:37:37PM +0100, Jakub Wilk wrote:
> User-Agent: rss2email/3.8 +https://github.com/wking/rss2email
> 
> This is violation of RFC 2616 (HTTP/1.1), which defines the following 
> syntax for the User-Agent field:
> 
>    User-Agent      = "User-Agent" ":" 1*( product | comment )
>    product         = token ["/" product-version]
>    product-version = token
>    token           = 1*<any CHAR except CTLs or separators>
>    separators      = "(" | ")" | "<" | ">" | "@"
>                    | "," | ";" | ":" | "\" | <">
>                    | "/" | "[" | "]" | "?" | "="
>                    | "{" | "}" | SP | HT
> 
> So the ":" and "/" characters are not allowed, except in comments.

Since:

  comment        = "(" *( ctext | quoted-pair | comment ) ")"
  ctext          = <any TEXT excluding "(" and ")">

We should be able to use:

  User-Agent: rss2email/3.8 (https://github.com/wking/rss2email)

Does that sound legal to you?

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to