Package: debbugs
Severity: wishlist

--- Please enter the report below this line. ---

Hi,

I wish the reply link in the web pages generated by bugreport.cgi could
include the "To" and "Cc" mail addresses.

Currently, it contains only the "n...@bugs.debian.org" address, which is
not sufficient to reply to participant of the given mail (ie: with only
n...@bugs.debian.org, they might not receive the mail reply).

I don't if this should be a change of the "reply" behavior, else a
solution would be to add a "reply all" link that does this.

For example, on a mail like this:
---
From: From. Dupond <fdup...@example.com>
To: To. Dupond <tdup...@example.com>
Cc: Cc. Dupond <cdup...@example.com>, 114...@bugs.debian.org
---
The generated mailto link would be (omitting other existing parameters
like the subject):
mailto:fdup...@example.com,tdup...@example.com?Cc=cdup...@example.com,114...@bugs.debian.org

I can try to make a patch but I will need to whether this new "reply
all" link is a welcomed addition.

According to the RFC 6068 [0], this match the mailto uri specification:

mailtoURI    = "mailto:"; [ to ] [ hfields ]
to           = addr-spec *("," addr-spec )
hfields      = "?" hfield *( "&" hfield )
hfield       = hfname "=" hfvalue
hfname       = *qchar
hfvalue      = *qchar
addr-spec    = local-part "@" domain
local-part   = dot-atom-text / quoted-string
domain       = dot-atom-text / "[" *dtext-no-obs "]"
dtext-no-obs = %d33-90 / ; Printable US-ASCII
               %d94-126  ; characters not including
                         ; "[", "]", or "\"
qchar        = unreserved / pct-encoded / some-delims
some-delims  = "!" / "$" / "'" / "(" / ")" / "*"
                   / "+" / "," / ";" / ":" / "@"


[0] https://tools.ietf.org/html/rfc6068

--- System information. ---
Architecture: Kernel:       Linux 4.17.0-1-amd64

Debian Release: buster/sid

--- Package information. ---
Package's Depends field is empty.

Package's Recommends field is empty.

Package's Suggests field is empty.
-- 
Alexis Murzeau
PGP: B7E6 0EBB 9293 7B06 BDBC  2787 E7BD 1904 F480 937F

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to