Last modified: 2011-10-04 23:50:00 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T33355, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 31355 - Logging out from "https" wikis shouldn't log out from "http"
Logging out from "https" wikis shouldn't log out from "http"
Status: RESOLVED WONTFIX
Product: MediaWiki
Classification: Unclassified
User login and signup (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: 20342
  Show dependency treegraph
 
Reported: 2011-10-04 20:15 UTC by Helder
Modified: 2011-10-04 23:50 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Helder 2011-10-04 20:15:17 UTC
If I go to
https://www.mediawiki.org/w/index.php?title=Special:UserLogin
and mark the options
[x]Also log me in to other wikis of the Wikimedia Foundation
[x]Remember my login on this browser (for a maximum of 30 days)
I'll be logged in on https://www.mediawiki.org but NOT on http://www.mediawiki.org

If I go then to
http://www.mediawiki.org/w/index.php?title=Special:UserLogin
and log in using the same account, I'll be now logged on both http and https.

So far so good, but if I go to
https://www.mediawiki.org/w/index.php?title=Special:UserLogout
then what I would expect from the login proccess is to be logged out ONLY from https, but currently this is not the case and I'll be logged out from both http and https.

Could someone take a look into this?
Comment 1 Helder 2011-10-04 20:17:47 UTC
(In reply to comment #0)
> and mark the options
> [x]Also log me in to other wikis of the Wikimedia Foundation
> [x]Remember my login on this browser (for a maximum of 30 days)

The problem also happens if I log without marking any of these options, so I don't think they make any difference.
Comment 2 Dan Wolff 2011-10-04 23:08:31 UTC
This is expected behavior and on purpose.

It is only possible to be logged in using *one* account. Logging in with another will automatically log out the first one.

If you log in on HTTPS you don't want the session data to spill over an unsecure HTTP channel, which is why you aren't logged in there.

If you log in on HTTP you are okay with session data over an unsecure channel, but of course it's simpler if the login is available also over the secure channel.

Do you understand the idea?
Comment 3 Sam Reed (reedy) 2011-10-04 23:10:11 UTC
This is how it works, and is how it's supposed to do.

Changing it to separate them is just daft
Comment 4 Helder 2011-10-04 23:50:00 UTC
Ok. I think I got it =)

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links