[HOME PAGE] [STORES] [CLASSICISTRANIERI.COM] [FOTO] [YOUTUBE CHANNEL]


Bug 5432 – Incorrect cookie prefix leads to problems with persistent logins

Last modified: 2006-04-04 02:42:48 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 5432 - Incorrect cookie prefix leads to problems with persistent logins
Incorrect cookie prefix leads to problems with persistent logins
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
User login and signup (Other open bugs)
1.6.x
PC All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-04-02 20:17 UTC by Ilya Schurov
Modified: 2006-04-04 02:42 UTC (History)
0 users

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


Attachments
quick and dirty patch (1.88 KB, patch)
2006-04-02 20:19 UTC, Ilya Schurov
Details

Description Ilya Schurov 2006-04-02 20:17:52 UTC
If $wgDBprefix is set and $wgCookiePrefix not equal to $wgDBname, problem with
persistent logins occurs (i.e. the system doesn't remember user even if
appropriate options is set). In file includes/User.php the system tries to use
$wgDBname as cookie prefix on setting and then $wgCookiePrefix on getting the
cookie. 

See also bug #1396.
Comment 1 Ilya Schurov 2006-04-02 20:19:49 UTC
Created attachment 1494 [details]
quick and dirty patch

Proposed patch looks to solve the problem, but not yet well tested.
Comment 2 Brion Vibber 2006-04-03 00:55:02 UTC
Fixed in trunk, r13436. Per patch, plus fixes in User::logout().
Comment 3 Ilya Schurov 2006-04-03 18:37:36 UTC
OK, thanks. How long does it takes for fix to appear in current CVS version? 
Comment 4 Rob Church 2006-04-03 19:30:43 UTC
We're no longer using CVS due to SourceForge's unannounced and unexplained
downtime. The SVN repo is now maintained at http://svn.wikimedia.org and there's
no lag for anonymous reads. More information at
http://www.mediawiki.org/wiki/Subversion.
Comment 5 Ilya Schurov 2006-04-03 21:26:33 UTC
Thanks, Rob. BTW, there's no any notes about SVN on
http://www.mediawiki.org/wiki/Download -- is it just temporarily situation and
will be fixed soon?
Comment 6 Rob Church 2006-04-04 02:42:48 UTC
Brion's in the process of updating that documentation, etc. now.

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


Contents Listing Alphabetical by Author:
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z Unknown Other

Contents Listing Alphabetical by Title:
# A B C D E F G H I J K L M N O P Q R S T U V W Y Z Other

Medical Encyclopedia

Browse by first letter of topic:


A-Ag Ah-Ap Aq-Az B-Bk Bl-Bz C-Cg Ch-Co
Cp-Cz D-Di Dj-Dz E-Ep Eq-Ez F G
H-Hf Hg-Hz I-In Io-Iz J K L-Ln
Lo-Lz M-Mf Mg-Mz N O P-Pl Pm-Pz
Q R S-Sh Si-Sp Sq-Sz T-Tn To-Tz
U V W X Y Z 0-9

Biblioteca - SPANISH

Biblioteca Solidaria - SPANISH

Bugzilla

Ebooks Gratuits

Encyclopaedia Britannica 1911 - PDF

Project Gutenberg: DVD-ROM 2007

Project Gutenberg ENGLISH Selection

Project Gutenberg SPANISH Selection

Standard E-books

Wikipedia Articles Indexes

Wikipedia for Schools - ENGLISH

Wikipedia for Schools - FRENCH

Wikipedia for Schools - SPANISH

Wikipedia for Schools - PORTUGUESE

Wikipedia 2016 - FRENCH

Wikipedia HTML - CATALAN

Wikipedia Picture of the Year 2006

Wikipedia Picture of the Year 2007

Wikipedia Picture of the Year 2008

Wikipedia Picture of the Year 2009

Wikipedia Picture of the Year 2010

Wikipedia Picture of the Year 2011