Last modified: 2010-05-15 15:54:45 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 T16873, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 14873 - Allowing setting of cookie prefix
Allowing setting of cookie prefix
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.12.x
All Linux
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-07-21 00:38 UTC by Renate
Modified: 2010-05-15 15:54 UTC (History)
2 users (show)

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


Attachments

Description Renate 2008-07-21 00:38:00 UTC
Currently $wgCookiePrefix is assigned in Setup.php.
It is some variant of the DB name.
On a shared hosted server the DB name itself can not be set but is a random string like "db12345678".
Whether divulging this info represents even a negligible security threat is unknown.
I would like $wgCookiePrefix to be user settable.

My suggestion:

In DefaultSettings.php put $wgCookiePrefix=false;

In Setup.php put if ( $wgCookiePrefix ) {} elseif ...
Comment 1 Chad H. 2008-07-21 21:53:54 UTC
Done in r37893

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


Navigation
Links