Page 1 of 1

[WWW] cannot logout, www.factorio.com/logout does not exist

Posted: Fri Jun 07, 2013 8:47 pm
by MF-
A minor thing - the factorio.com logout link does not work for me.
I am not 100% sure, that some logout-vital javascript is not blocked, though.

Re: [WWW] cannot logout, www.factorio.com/logout does not ex

Posted: Fri Jun 07, 2013 11:34 pm
by slpwnd
That is very well possible. The logout link actually uses javascript because it sends the logout via post method.

Re: [WWW] cannot logout, www.factorio.com/logout does not ex

Posted: Sat Jun 08, 2013 6:37 am
by MF-
slpwnd wrote:That is very well possible. The logout link actually uses javascript because it sends the logout via post method.
It might be a NoScript incompatibility, then.
It seems that it's anti-JS-link feature converted itto <a data-method="post" href="/logout">log out</a>
If there were no data expected as payload, it should work.

Re: [WWW] cannot logout, www.factorio.com/logout does not ex

Posted: Tue Jun 11, 2013 12:26 pm
by slpwnd
What the JS does is that when logout is clicked it creates a form to the same url that is send with a POST method. Regular links allow only GET. Using POST for actions that change something (like logout) is supposed to be a good practice. For instance some browsers might "prefetch" links on the webpage resulting to frequent unintended logouts.