Edgewall Software

Changeset 1710

Show
Ignore:
Timestamp:
05/22/05 00:27:45 (4 years ago)
Author:
mgood
Message:

make sure Log module only matches /log sub-paths and not /login

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/trac/Browser.py

    r1706 r1710  
    254254    def match_request(self, req): 
    255255        import re 
    256         match = re.match(r'/log(?:(/.*))?', req.path_info) 
     256        match = re.match(r'/log(?:(/.*)|$)', req.path_info) 
    257257        if match: 
    258258            req.args['path'] = match.group(1)