Trac is being migrated to new services! Issues can be found in our new YouTrack instance and WIKI pages can be found on our website.

Changes between Version 4 and Version 5 of LocalTracChanges


Ignore:
Timestamp:
May 8, 2007, 1:20:57 AM (17 years ago)
Author:
datallah
Comment:

Add info about lighttpd workaround patch

Legend:

Unmodified
Added
Removed
Modified
  • LocalTracChanges

    v4 v5  
    2222
    2323[ticket:13 Patch] to display "Last Modified"  information on all wiki pages
     24
     25Hack to workaround [http://trac.lighttpd.net/trac/ticket/729 lighttpd bug #729] (See [http://trac.edgewall.org/ticket/2418 trac bug #2418])
     26
     27{{{
     28--- /usr/share/python-support/trac/trac/web/api.py.orig      2006-11-13 06:41:07.0000 -0500
     29+++ /usr/share/python-support/trac/trac/web/api.py      2007-05-07 18:31:23.0000
     30@@ -216,7 +216,7 @@
     31
     32     method = property(fget=lambda self: self.environ['REQUEST_METHOD'],
     33                       doc='The HTTP method of the request')
     34-    path_info = property(fget=lambda self: self.environ.get('PATH_INFO', '').de
     35code('utf-8'),
     36+    path_info = property(fget=lambda self: self.environ.get('SCRIPT_NAME', '') + self.environ.get('PATH_INFO', '').decode('utf-8'),
     37                          doc='Path inside the application')
     38     remote_addr = property(fget=lambda self: self.environ.get('REMOTE_ADDR'),
     39                            doc='IP address of the remote user')
     40@@ -225,7 +225,7 @@
     41                                'has not logged in using HTTP authentication')
     42     scheme = property(fget=lambda self: self.environ['wsgi.url_scheme'],
     43                       doc='The scheme of the request URL')
     44-    base_path = property(fget=lambda self: self.environ.get('SCRIPT_NAME', ''),
     45+    base_path = property(fget=lambda self: '/',
     46                          doc='The root path of the application')
     47     server_name = property(fget=lambda self: self.environ['SERVER_NAME'],
     48                            doc='Name of the server')
     49
     50}}}
All information, including names and email addresses, entered onto this website or sent to mailing lists affiliated with this website will be public. Do not post confidential information, especially passwords!