From: richard Date: Wed, 4 Sep 2002 04:30:58 +0000 (+0000) Subject: add the path to the cgi-bin request X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=98d4be27e4c96ed461674dcddb6d2d43e4a8cb81;p=roundup.git 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 --- 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 #