Description

Sub pages of 4ct10n with names of actions can not be created. Instead of helpful error message, the user get a traceback.

This is regression from 1.5.

Steps to reproduce

  1. try to create 4ct10n/edit

Component selection

Details

This wiki.

Workaround

Discussion

Change url scheme to /<handler>/<pagename>/

Examples:


Nir,

I guess everybody can find some action URL prefix that he doesn't need to create as a page (the one that this wiki uses, for example or simple 'action' for most wikis not talking about actions like this one does).

Of course we can make some pretty error msg for unknown actions instead of a traceback, but I guess we have more severe bugs to fix than pretty processing of manually created wrong urls.

Using /pages for standard page display is IMHO no option because that makes often used URLs longer and less pretty than they are now. It would also break all links from external sites.

BTW, I used /<common_action_prefix>/<actionname> to make it pretty easy to exclude all actions in robots.txt (that's the whole point of doing this).

-- ThomasWaldmann 2007-11-05 17:29:50

Did you try this rule? works with gogole and yahoo bots.

User-agent: *
Disallow: /*?action=*

Ah, interesting. Seems like those did some sane implementation. The problem is just that nobody updated the robots.txt standard (AFAIK), so you ccan't be sure that everybody is doing it like this (everybody who wants to follow robots.txt standard). -- ThomasWaldmann 2007-11-06 16:30:03

Plan


CategoryMoinMoinBugFixed

MoinMoin: MoinMoinBugs/some page names can not be used (last edited 2008-03-18 20:01:15 by JohannesBerg)