Modify ↓
#951 closed defect (fixed)
[patch] - unsubscriptable object error from trac/login
Reported by: | ivanoe at ivanoe net | Owned by: | Jonas Borgström |
---|---|---|---|
Priority: | normal | Milestone: | 0.8 |
Component: | general | Version: | devel |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
When in the browser the address is entered directly to the login screen: as http://xxx.yyy.com/trac/login, after logging in, the following page error is displayed:
Traceback (most recent call last): File "D:\tools\Python23\Lib\site-packages\trac\core.py", line 525, in cgi_start real_cgi_start() File "D:\tools\Python23\Lib\site-packages\trac\core.py", line 520, in real_cgi_start dispatch_request(path_info, args, req, env) File "D:\tools\Python23\Lib\site-packages\trac\core.py", line 417, in dispatch_request if referer[0:len(req.base_url)] != req.base_url: TypeError: unsubscriptable object
since the referer is None
Attachments (2)
Change History (4)
by , 20 years ago
Attachment: | login.patch.diff added |
---|
by , 20 years ago
Attachment: | login.patch2.diff added |
---|
includes the login.patch.diff and adds the check for /logout as well
comment:1 by , 20 years ago
Status: | new → assigned |
---|
Note:
See TracTickets
for help on using tickets.
the check if the referer is None added