Description

Describe the bug...

Steps to reproduce

This is with MoinMoin 1.5.4, ModPython, Apache2.0

  1. Open the root page of the wiki (it doesn't matter if the wiki is running at the root or not)
  2. Pull down "Check Spelling" from the "More Actions" menu

    You'll get a message: "You are not allowed to do SpellCheck on this page." but you will now be on the "This page does not exist...Create a page" page.

  3. Click on "Create an empty page" and you will create a page named "action=SpellCheck".

Example

Details

MoinMoin Version

1.5.4

OS and Version

RHEL4

Python Version

2.3.5

Server Setup

Apache, ModPython

Language you are using the wiki in (set in the browser/UserPreferences)

en

Workaround

  1. Tell users not to do that.
  2. upgrade to 1.5.5a
  3. Patch request.py around line 1087:

after:

  if not pagename and self.query_string:

add these lines:

    # Patch: Remove the action from the query_string
    self.query_string = self.query_string.replace('action=%s' % action, '')

Discussion

Can't reproduce with 1.3.5. This must be a regression in 1.5. The "fix" seems to remove functionality.

Plan


CategoryMoinMoinBugFixed

MoinMoin: MoinMoinBugs/ActionAtRootPageIsUsedAsPageName (last edited 2007-10-29 19:11:57 by localhost)