From: Don Armstrong Date: Mon, 6 Nov 2006 08:42:19 +0000 (-0800) Subject: * my_url in pkgreport.cgi now returns the complete url (closes: #378566) X-Git-Tag: release/2.6.0~587^2~3 X-Git-Url: https://git.donarmstrong.com/?p=debbugs.git;a=commitdiff_plain;h=ceba7a9e920727b8f6dd9103ec02a2be3435b791 * my_url in pkgreport.cgi now returns the complete url (closes: #378566) * Document precisely how forwarded works (closes: #228049) --- diff --git a/cgi/pkgreport.cgi b/cgi/pkgreport.cgi index a6c8e8d..8c7051e 100755 --- a/cgi/pkgreport.cgi +++ b/cgi/pkgreport.cgi @@ -961,12 +961,13 @@ sub pkg_htmlselectarch { } sub myurl { - return pkg_etc_url($pkg, "pkg", 0) if defined($pkg); - return pkg_etc_url($src, "src", 0) if defined($src); - return pkg_etc_url($maint, "maint", 0) if defined($maint); - return pkg_etc_url($submitter, "submitter", 0) if defined($submitter); - return pkg_etc_url($severity, "severity", 0) if defined($severity); - return pkg_etc_url($tag, "tag", 0) if defined($tag); + return urlsanit('pkgreport.cgi?'. + join(';', + (map {("$_=$param{$_}") + } keys %param + ) + ) + ); } sub make_order_list { diff --git a/debian/changelog b/debian/changelog index 06efe83..3bb240c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -137,6 +137,8 @@ debbugs (2.4.2) UNRELEASED; urgency=low - Fix javascript error in pkgreport.cgi (closes: #346043) - When a bug can't be found in control@; indicate to user that it may be archived. (closes: #153536) + - my_url in pkgreport.cgi now returns the complete url (closes: #378566) + - Document precisely how forwarded works (closes: #228049) -- Colin Watson Fri, 20 Jun 2003 18:57:25 +0100 diff --git a/html/Developer.html.in b/html/Developer.html.in index 8f8e788..d876d91 100644 --- a/html/Developer.html.in +++ b/html/Developer.html.in @@ -123,8 +123,9 @@ they should note this in the $gBug tracking system as follows:

Make sure that the To field of your message to the author has only the author(s) address(es) in it; put both the person who -reported the $gBug and -nnn-forwarded\@$gEmailDomain in the +reported the $gBug, +nnn-forwarded\@$gEmailDomain and +nnn\@$gEmailDomain in the CC field.

Ask the author to preserve the CC to