Description

Describe the bug...

Steps to reproduce

  1. Try to save a wiki page with text like, e.g., 'sting[space]CC'

Example

moinbadcontent.png

Component selection

Details

MoinMoin Version

N/A

OS and Version

N/A

Python Version

N/A

Server Setup

N/A

Server Details

N/A

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

N/A

Workaround

Discussion

Can you please escape the literal dots for patterns that are trying to match a domain name? That is, example\.com instead of example.com?

Not programmatically -this is not a bug, but a feature. BadContent contains regexes, so we must not disallow / escape regex characters.

What should be done of course, is to manually fix the BadContent page, so that dots in domain names are matched by "\.". I just fixed it to read "sting\.cc", but a lot of other places have the same issue.

If you like, you can help with that (carefully please).

Plan


CategoryMoinMoinNoBug (but bad BadContent content)

MoinMoin: MoinMoinBugs/BadContentNonEscapedLiteralDots (last edited 2014-05-04 12:48:39 by ThomasWaldmann)