[OSM-talk] Wiki login redirect

Tom Hughes tom at compton.nu
Thu Oct 18 09:17:19 BST 2012


On 18/10/12 07:30, Maarten Deen wrote:

> I haven't noticed this before a few weeks ago, but when you visit a page
> in the wiki and then login, you are redirected to the main page. This is
> not very convenient, because logging in after navigating to a page is
> usually for one purpose only: to edit the page. And certainly users that
> have an account don't need to get redirected to the main page.
> It is also not the standard behaviour of wikis. Normally when you login
> there is a "returnto=" field in the URL.
>
> Can this be changed please?

It's a side effect of making the login page https - trac had the same 
problem because it's redirection logic fails when the referer has a 
different protocol to the login page.

In the end I made trac entirely https to fix it, not sure what the fix 
for mediawiki is.

Tom

-- 
Tom Hughes (tom at compton.nu)
http://compton.nu/



More information about the talk mailing list