Description
Using MoinMoin 1.8.4. as OpenID-Provider fails when using MoinMoin with HTTPS. The generated tag always stats with: "<link rel="openid2.provider" href="http://".
It should use https when called via https.
Steps to reproduce
- Set up a wiki that is accessed via https.
- Enable the OpenID provider.
- Check the generated html.
Discussion
I'm not seeing this bug with 1.9.3. Take a look at the OpenID provider link in the source of https://robots.org.uk/.
This would indicate that Moin doesn't understand that it is being served over SSL. It's very possible that the mechanism for detecting this has changed in 1.9 since the HTTP stack is completely different, but I would take a look at MoinMoin/request/__init__.py and the RequestBase class's setIsSSL method. There, a few environment variables are tested, and if your server isn't providing these, Moin will assume that SSL isn't being used. -- PaulBoddie 2011-11-16 23:10:39
Plan
- Priority:
- Assigned to:
- Status: