feed: Change _USER_AGENT from '+{url}' to '({url})'
authorW. Trevor King <wking@tremily.us>
Thu, 20 Mar 2014 20:03:10 +0000 (13:03 -0700)
committerW. Trevor King <wking@tremily.us>
Thu, 20 Mar 2014 20:09:27 +0000 (13:09 -0700)
commitec438df7ecf06142969954182bf277927562d7e4
tree50951169d23d5aafd5b2c6966a80329e1107be0f
parentf2fc454daa7750ab079eca9f0abde8ea1cb49323
feed: Change _USER_AGENT from '+{url}' to '({url})'

In Debian bug 742215 [1], Jakup points out that the old User-Agent is
out-of-spec.  From RFC 2616 [2]:

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

[1]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=742215
[2]: User-Agent: https://tools.ietf.org/html/rfc2616#section-14.43
     product:    https://tools.ietf.org/html/rfc2616#section-3.8
     token, separators, comment, ctext:
                 https://tools.ietf.org/html/rfc2616#section-2.2

Reported-by: Jakub Wilk <jwilk@debian.org>
Signed-off-by: W. Trevor King <wking@tremily.us>
CHANGELOG
rss2email/feed.py