From 98d4be27e4c96ed461674dcddb6d2d43e4a8cb81 Mon Sep 17 00:00:00 2001 From: richard Date: Wed, 4 Sep 2002 04:30:58 +0000 Subject: [PATCH] add the path to the cgi-bin request git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1059 57a73879-2fb5-44c3-a270-3262357dd7e2 --- cgi-bin/roundup.cgi | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/cgi-bin/roundup.cgi b/cgi-bin/roundup.cgi index a34cf3a..5e9791e 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.27 2002-09-04 02:11:00 richard Exp $ +# $Id: roundup.cgi,v 1.28 2002-09-04 04:30:58 richard Exp $ # python version check from roundup import version_check @@ -126,10 +126,11 @@ def main(out, err): import os, string import roundup.instance path = string.split(os.environ.get('PATH_INFO', '/'), '/') + request = RequestWrapper(out) + request.path = os.environ.get('PATH_INFO', '/') instance = path[1] os.environ['INSTANCE_NAME'] = instance os.environ['PATH_INFO'] = string.join(path[2:], '/') - request = RequestWrapper(out) if ROUNDUP_INSTANCE_HOMES.has_key(instance): # redirect if we need a trailing '/' if len(path) == 2: @@ -198,6 +199,9 @@ LOG.close() # # $Log: not supported by cvs2svn $ +# Revision 1.27 2002/09/04 02:11:00 richard +# *** empty log message *** +# # Revision 1.26 2002/09/04 01:58:33 richard # fix cgi client importing # -- 2.30.2