Description

If a page contains a link containing a URI that contains escaped characters, the GUI editor seems to undo the escaping. If these characters are space characters or newlines, having them unescaped messes up the page and results in the whole link becoming visible as raw text.

Steps to reproduce

  1. First use the text editor to create a link containing a URI with escaped characters in it, something like that shown below.
  2. Next, edit the page with the GUI editor. Save it two or three times, and the link will change to mostly plain text like shown in the screenshot below.

Example

Here's a normal paragraph containing a [[mailto:foo@bar.com?subject=test&body=Just%20testing%20the%20GUI%20editor.%0D%0AI%20think%20this%20is%20a%20valid%20URI.|mailto link]]. We want to make sure it stays that way.

screenshot.png

In the screenshot, note that the link should simply say "mailto link" but it instead shows all the link text. And despite the final sentence in the screenshot, no, we don't want it to stay that way. :-)

Component selection

Details

MoinMoin Version

1.8.1

OS and Version

Ubuntu Hardy Heron

Python Version

2.5.2

Server Setup

Apache 2.2

Server Details

simple setup with moin.cgi

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

en

Workaround

Don't use the GUI editor.

Discussion

Plan


CategoryMoinMoinBug

MoinMoin: MoinMoinBugs/GUIEditorConvertsEscapedCharsInLinks (last edited 2009-01-04 03:34:00 by SteveVinoski)