Description
If a user "remember_last_visit" is set to 1 and there is no trail file, a crash happen on next visit to the root page.
Steps to reproduce
- Login and visit some pages as registered user
- Delete the user trail file
Visit the wiki root: http://www.example.com/wiki/
- You get internal error, and in the log:
[Fri Feb 11 00:09:43 2005] [error] [client 127.0.0.1] malformed header from script. Bad header=<ul id="timings">: moin.cgi
Details
Moin 1.3.3
Workaround
Visit a page as the user, this will create the trail file.
Discussion
I removed the previous confusing data.
The fix redirect the user to localized FrontPage when the trail is empty, which happen when there is no trail file. The trail file is automatically created on the next page visit, which is just after the redirect.
-- NirSoffer 2005-02-10 23:37:12
Plan
- Priority:
Assigned to: NirSoffer
- Status: fixed in patch-620