[moin-user] Punctuation in titles

PETER BLEACKLEY pete.bleackley at btinternet.com
Fri Sep 22 09:17:47 EDT 2017

The issue turned out to be with Dreamhost Passenger not decoding urls before sending them to the WSGI application. Wrapping the wsgi application in a callable that decodes the URLs in the passenger.wsgi file fixed it.
----Original message----
>From : Mark.Martinec+moin at ijs.si
Date : 22/09/2017 - 14:03 (BST)
To : moin-user at python.org
Cc : pete.bleackley at btinternet.com, paul at boddie.org.uk
Subject : Re: [moin-user] Punctuation in titles

2017-08-11 14:08, Paul Boddie wrote:
> On Friday 11. August 2017 10.48.32 you wrote:
>> That is what it should be doing, but I seem to have a bug in my 
>> MoinMoin
>> installation. If I try to create [[This is a test page]], this gets
>> converted to This%20is%20a%20test%20page
>> and then to
>> This(25)20is(25)20a(25)20test(25)20page
>> Any idea what's doing that? If I can fix that, I think everything will 
>> be
>> OK.
> Looks like a double-encoding problem to me. Somehow, the page name, 
> which is
> passed in via the URL, is not getting decoded to produce the name with 
> spaces
> in it. Then, the quoteWikinameFS function is doing its work on the 
> %-encoded
> string rather than the actual page name.
> I've copied the list in my reply because someone else might have an 
> immediate
> solution to this, whereas I would need to look at the code.
>   Paul

The double-encoding experienced here sounds like another manifestation
of the double-encoding problem in 1.9.9, as reported in June 2017:



More information about the moin-user mailing list