Your message dated Mon, 15 Aug 2016 19:07:29 +0000
with message-id <[email protected]>
and subject line Bug#834304: Removed package(s) from unstable
has caused the Debian Bug report #441535,
regarding Support for QUERY_PATH
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
441535: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=441535
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: queuegraph
Version: 1.1.1-3
Severity: wishlist
Tags: patch


Without this patch the queuepath CGI only understands arguments
directly added to the request path and expects the web server to
work accordingly.  This may not be the case all the time.

This patch adds support for QUERY_PATH so that the system still
works.  This permits the use of URLs of the form
queuegraph.cgi?/image.png as well.

Before the images were included with path components like:
  /cgi-bin/queuegraph.cgi/queuegraph_0.png

With this patch a second way exists as well:
  /cgi-bin/queuegraph.cgi?/queuegraph_0.png

It would be nice if this could be applied to the Debian package and
also fed upstream.

Regards,

        Joey

-- 
Unix is user friendly ...  It's just picky about its friends.

Please always Cc to me when replying to me on the lists.
--- /usr/lib/cgi-bin/queuegraph.cgi	2006-11-17 13:58:39.000000000 +0100
+++ queuegraph.cgi.new	2007-09-10 12:01:33.000000000 +0200
@@ -128,19 +128,20 @@ sub send_image($)
 
 sub main()
 {
-	if($ENV{PATH_INFO}) {
+	if($ENV{PATH_INFO} || $ENV{QUERY_STRING}) {
+		my $path = $ENV{PATH_INFO} ? $ENV{PATH_INFO} : $ENV{QUERY_STRING};
 		my $uri = $ENV{REQUEST_URI};
 		$uri =~ s/\/[^\/]+$//;
 		$uri =~ s/\//,/g;
 		$uri =~ s/\~/tilde,/g;
 		mkdir $tmp_dir, 0777 unless -d $tmp_dir;
 		mkdir "$tmp_dir/$uri", 0777 unless -d "$tmp_dir/$uri";
-		my $file = "$tmp_dir/$uri$ENV{PATH_INFO}";
-		if($ENV{PATH_INFO} =~ /^\/queuegraph_(\d+)\.png$/) {
+		my $file = "$tmp_dir/$uri$path";
+		if($path =~ /^\/queuegraph_(\d+)\.png$/) {
 			graph($graphs[$1]{seconds}, $file, $graphs[$1]{title});
 		}
 		else {
-			print "Content-Type: text/plain\n\nERROR: unknown image $ENV{PATH_INFO}\n";
+			print "Content-Type: text/plain\n\nERROR: unknown image $path\n";
 			exit 1;
 		}
 		send_image($file);

--- End Message ---
--- Begin Message ---
Version: 1.1.1-3+rm

Dear submitter,

as the package queuegraph has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/834304

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
[email protected].

Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)

--- End Message ---

Reply via email to