From c753ee0ca214c0ceee93813ea8ab5272ef1518c9 Mon Sep 17 00:00:00 2001 From: richard Date: Mon, 29 Oct 2001 23:55:44 +0000 Subject: [PATCH] Fix to CGI top-level index (thanks Juergen Hermann) git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@347 57a73879-2fb5-44c3-a270-3262357dd7e2 --- cgi-bin/roundup.cgi | 7 +++++-- roundup-server | 7 +++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/cgi-bin/roundup.cgi b/cgi-bin/roundup.cgi index 78e915a..c8b1030 100755 --- a/cgi-bin/roundup.cgi +++ b/cgi-bin/roundup.cgi @@ -16,7 +16,7 @@ # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. # -# $Id: roundup.cgi,v 1.14 2001-10-27 00:22:35 richard Exp $ +# $Id: roundup.cgi,v 1.15 2001-10-29 23:55:44 richard Exp $ # python version check import sys @@ -90,7 +90,7 @@ def main(out, err): for instance in ROUNDUP_INSTANCE_HOMES.keys(): w('
  • %s\n'%( os.environ['SCRIPT_NAME'], urllib.quote(instance), - instance)) + cgi.escape(instance))) w('') # @@ -111,6 +111,9 @@ sys.stdout, sys.stderr = out, err # # $Log: not supported by cvs2svn $ +# Revision 1.14 2001/10/27 00:22:35 richard +# Fixed some URL issues in roundup.cgi, again thanks Juergen Hermann. +# # Revision 1.13 2001/10/05 02:23:24 richard # . roundup-admin create now prompts for property info if none is supplied # on the command-line. diff --git a/roundup-server b/roundup-server index 1309088..c8b83cd 100755 --- a/roundup-server +++ b/roundup-server @@ -20,7 +20,7 @@ Based on CGIHTTPServer in the Python library. -$Id: roundup-server,v 1.16 2001-10-27 00:12:21 richard Exp $ +$Id: roundup-server,v 1.17 2001-10-29 23:55:44 richard Exp $ """ import sys @@ -109,7 +109,7 @@ class RoundupRequestHandler(SimpleHTTPServer.SimpleHTTPRequestHandler): w('

    Roundup instances index

      \n') for instance in self.ROUNDUP_INSTANCE_HOMES.keys(): w('
    1. %s\n'%(urllib.quote(instance), - instance)) + cgi.escape(instance))) w('
    ') def inner_run_cgi(self): @@ -261,6 +261,9 @@ if __name__ == '__main__': # # $Log: not supported by cvs2svn $ +# Revision 1.16 2001/10/27 00:12:21 richard +# Fixed roundup-server for windows, thanks Juergen Hermann. +# # Revision 1.15 2001/10/12 02:23:26 richard # Didn't clean up after myself :) # -- 2.30.2