Description

Quoting is broken for certain special characters: * + , ' and for '/.'.

As a side effect, if you create a page with a name containing a single quote (such as Ben's Wiki), you will not be able to use the double-click method to edit that page, because the JavaScript statement is broken with raw single quote.

<body ondblclick="location.href='/benwiki/Ben's_Wiki?action=edit'"  lang="en" dir="ltr">

Steps to reproduce

Try one of the example links

Example

Test links:

Details

This Wiki

Workaround

Don't use apostrophes in page names?

Discussion

The problem is broken url quoting function. It handle some characters as safe although they hare not considered safe by urllib.quote function, and it handle specially the case of '/.' in a broken way.

Plan


CategoryMoinMoinBugFixed

MoinMoin: MoinMoinBugs/UrlQuotingBroken (last edited 2007-10-29 19:08:51 by localhost)