From cadbe2b185d62354b87de1cb8d135874141b6541 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Sun, 10 Feb 2008 14:25:26 -0800 Subject: [PATCH] - Fix casing of versions (closes: #441022) - Output last-modified in bugreport.cgi (closes: #459709) - Fix various html syntax errors in pkgreport.cgi (closes: #462322) --- cgi/bugreport.cgi | 10 +++++++++- cgi/pkgreport.cgi | 7 +++---- debian/changelog | 3 +++ 3 files changed, 15 insertions(+), 5 deletions(-) diff --git a/cgi/bugreport.cgi b/cgi/bugreport.cgi index b86a688..7489f98 100755 --- a/cgi/bugreport.cgi +++ b/cgi/bugreport.cgi @@ -586,7 +586,15 @@ else { $log = join("\n",@log); -print "Content-Type: text/html; charset=utf-8\n\n"; +print "Content-Type: text/html; charset=utf-8\n"; + +my @stat = stat $buglog; +if (@stat) { + my $mtime = strftime '%a, %d %b %Y %T GMT', gmtime($stat[9]); + print "Last-Modified: $mtime\n"; +} + +print "\n"; my $title = html_escape($status{subject}); diff --git a/cgi/pkgreport.cgi b/cgi/pkgreport.cgi index c07bf78..1af5b03 100755 --- a/cgi/pkgreport.cgi +++ b/cgi/pkgreport.cgi @@ -571,7 +571,6 @@ print <  - Merged bugs should be