Description

Some users are unable to edit pages. They are treated like spiders. Instead of edit mode, they got 403 access forbidden.

Steps to reproduce

  1. use browser with user agent with "search" substring
  2. try to edit wiki page
  3. you got forbidden 403 as for spider

Details

multiconfig.py

    ua_spiders = ('archiver|cfetch|crawler|curl|gigabot|google|holmes|htdig|httrack|httpunit|jeeves|larbin|leech|'
                  'linkbot|linkmap|linkwalk|mercator|mirror|msnbot|nutbot|omniexplorer|puf|robot|scooter|'
                  'search|sherlock|sitecheck|spider|teleport|voyager|webreaper|wget')

contains 'search' record that match user agent of Internet Explorer with some extension and thus prevents user from editing pages

Internet Explorer user agent string that is prevented from editing:

Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; Alcohol Search; .NET CLR 1.1.4322)

I don't know what extenstion is that.

Workaround

Omit "search" string from ua_spiders variable (you can copy&paste&modify this from multiconfig.py into wikiconfig.py).

Discussion

You are sure that this is a bug? :)

It was blocking normal user with Internet Explorer. "Alcohol search" is probably some add-on to Internet Explorer. I cannot find on internet what kind of extension is that. Also that wiki user probably cannot explain me more.

Plan


CategoryMoinMoinBugFixed

MoinMoin: MoinMoinBugs/UaSpidersBadRecord (last edited 2007-10-29 19:07:37 by localhost)