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

  1. Login and visit some pages as registered user
  2. Delete the user trail file
  3. Visit the wiki root: http://www.example.com/wiki/

  4. 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


CategoryMoinMoinBugFixed CategoryRelease1.3.4

MoinMoin: MoinMoinBugs/RememberLastVisitCrash (last edited 2007-10-29 19:16:21 by localhost)