Description

moinmoin 1.6.1 quotes the ampersand in interwiki links with a %26 encoding. This seems to be broken as browsers are transmitting it literally and e.g. CGI scripts do not recognize it as a delimiter of parameters. Special entities have to be written like '&' or '&'.

E.g. I want to use it like

[[Acronym:foo&string=substring|XXX]]

moinmoin 1.5.8 generated the wanted

http://www.acronymfinder.com/af-query.asp?String=exact&Acronym=foo&string=substring

while 1.6.1 generates

http://www.acronymfinder.com/af-query.asp?String=exact&Acronym=foo%26string%3Dsubstring

which is not understood by firefox 2.0.0.12.

Please note, that the first '&' (from interwiki.txt definition) is encoded as &, while the '&' from the wiki page is written as %26. Ditto for '='.

Code is ok, when link is written link manually.

Component selection

Details

MoinMoin Version

1.6.1

Workaround

Discussion

This is intentional, the above should be written as [[Acronym:foo|acronym finder: foo|&string=substring]], acronym finder: foo.

Plan


CategoryMoinMoinBugFixed

MoinMoin: MoinMoinBugs/BadAmpersandQuotingInInterwiki (last edited 2008-03-22 17:02:45 by ThomasWaldmann)