|
16 | 16 | # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, |
17 | 17 | # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. |
18 | 18 | # |
19 | | -# $Id: roundup.cgi,v 1.27 2002-09-04 02:11:00 richard Exp $ |
| 19 | +# $Id: roundup.cgi,v 1.28 2002-09-04 04:30:58 richard Exp $ |
20 | 20 |
|
21 | 21 | # python version check |
22 | 22 | from roundup import version_check |
@@ -126,10 +126,11 @@ def main(out, err): |
126 | 126 | import os, string |
127 | 127 | import roundup.instance |
128 | 128 | path = string.split(os.environ.get('PATH_INFO', '/'), '/') |
| 129 | + request = RequestWrapper(out) |
| 130 | + request.path = os.environ.get('PATH_INFO', '/') |
129 | 131 | instance = path[1] |
130 | 132 | os.environ['INSTANCE_NAME'] = instance |
131 | 133 | os.environ['PATH_INFO'] = string.join(path[2:], '/') |
132 | | - request = RequestWrapper(out) |
133 | 134 | if ROUNDUP_INSTANCE_HOMES.has_key(instance): |
134 | 135 | # redirect if we need a trailing '/' |
135 | 136 | if len(path) == 2: |
@@ -198,6 +199,9 @@ LOG.close() |
198 | 199 |
|
199 | 200 | # |
200 | 201 | # $Log: not supported by cvs2svn $ |
| 202 | +# Revision 1.27 2002/09/04 02:11:00 richard |
| 203 | +# *** empty log message *** |
| 204 | +# |
201 | 205 | # Revision 1.26 2002/09/04 01:58:33 richard |
202 | 206 | # fix cgi client importing |
203 | 207 | # |
|
0 commit comments