|
15 | 15 | # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, |
16 | 16 | # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. |
17 | 17 | # |
18 | | -# $Id: cgi_client.py,v 1.107 2002-02-21 06:57:38 richard Exp $ |
| 18 | +# $Id: cgi_client.py,v 1.108 2002-02-21 07:02:54 richard Exp $ |
19 | 19 |
|
20 | 20 | __doc__ = """ |
21 | 21 | WWW request handler (also used in the stand-alone server). |
@@ -57,7 +57,8 @@ def __init__(self, instance, request, env, form=None): |
57 | 57 | machine = self.env['SERVER_NAME'] |
58 | 58 | port = self.env['SERVER_PORT'] |
59 | 59 | if port != '80': machine = machine + ':' + port |
60 | | - self.base = urlparse.urlunparse(('http', env['HOST'], url, None,None,None)) |
| 60 | + self.base = urlparse.urlunparse(('http', env['HTTP_HOST'], url, |
| 61 | + None, None, None)) |
61 | 62 |
|
62 | 63 | if form is None: |
63 | 64 | self.form = cgi.FieldStorage(environ=env) |
@@ -1324,6 +1325,14 @@ def parsePropsFromForm(db, cl, form, nodeid=0): |
1324 | 1325 |
|
1325 | 1326 | # |
1326 | 1327 | # $Log: not supported by cvs2svn $ |
| 1328 | +# Revision 1.107 2002/02/21 06:57:38 richard |
| 1329 | +# . Added popup help for classes using the classhelp html template function. |
| 1330 | +# - add <display call="classhelp('priority', 'id,name,description')"> |
| 1331 | +# to an item page, and it generates a link to a popup window which displays |
| 1332 | +# the id, name and description for the priority class. The description |
| 1333 | +# field won't exist in most installations, but it will be added to the |
| 1334 | +# default templates. |
| 1335 | +# |
1327 | 1336 | # Revision 1.106 2002/02/21 06:23:00 richard |
1328 | 1337 | # *** empty log message *** |
1329 | 1338 | # |
|
0 commit comments