Last modified: 2014-02-03 08:31:09 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 T49886, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 47886 - $wgCookieExpiration = 0 doesn't work
$wgCookieExpiration = 0 doesn't work
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.22.0
All All
: Normal normal (vote)
: 1.22.x release
Assigned To: Tyler Romeo
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-04-30 17:07 UTC by Tyler Romeo
Modified: 2014-02-03 08:31 UTC (History)
3 users (show)

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


Attachments

Description Tyler Romeo 2013-04-30 17:07:17 UTC
Setting $wgCookieExpiration = 0 does not, as documented, make all cookies in-session. Rather, it makes all cookies expire 0 second from the server time. This usually does not cause an issue because MediaWiki will load the user from the session instead, but it causes issues with any extensions that use cookies (specifically Extension:SecureSessions). Will have a patch to fix this in Gerrit soon. Maybe this should be backported?
Comment 1 Tyler Romeo 2013-04-30 17:10:13 UTC
https://gerrit.wikimedia.org/r/61593
Comment 2 Nemo 2013-04-30 17:14:09 UTC
Correct me if I'm wrong, but this sounds like something that never worked, almost a new feature and definitely not a regression: nice to have but doesn't seem "enough" for a backport so stable.
Comment 3 Gerrit Notification Bot 2013-07-03 17:39:34 UTC
Change 61593 merged by jenkins-bot:
Fixed $wgCookieExpiration functionality when set to 0.

https://gerrit.wikimedia.org/r/61593
Comment 4 Bartosz Dziewoński 2013-07-03 17:40:32 UTC
Yeah, this never worked. I updated the docs at https://www.mediawiki.org/wiki/Manual:$wgCookieExpiration accordingly.

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


Navigation
Links