Last modified: 2010-05-15 15:56:47 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 5748 - Seemingly logged out after editting
Seemingly logged out after editting
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.6.x
PC Windows XP
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://tyvawiki.org
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-04-28 19:14 UTC by Stacey Doljack Borsody
Modified: 2010-05-15 15:56 UTC (History)
0 users

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


Attachments

Description Stacey Doljack Borsody 2006-04-28 19:14:36 UTC
Is there some change with the way Cookies and Host are handled?  I've noticed on
my own MediaWiki-driven site that after saving an edit or saving preferences I
would get redirected to a page asking me to log in again.  My Apache server is
set up with the ServerName as <domain>.<tld> and a ServerAlias of
www.<domain>.<tld>.  I was logged into my account with www.<domain>.<tld> in the
URL.  After I hit save on an edit page or preferences I noticed I was being
redirected to <domian>.<tld>/wiki/<Page> instead.  The cookie 'site' is
<domain>.<tld> but the info in the cookie shows Host of www.<domain>.<tld>.  The
browser isn't sending the cookie info on the redirect.

This seems to have started since I upgraded, I swear.  I can't remember this
happening before with 1.5.8.  I've tested this both on Firefox and Opera.

Start request
POST /index.php?title=TyvaWiki:Sandbox&action=submit
Accept:
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Accept-Encoding: gzip,deflate
Accept-Language: en-us,en;q=0.5
Connection: keep-alive
Content-Length: 13268
Content-Type: multipart/form-data; boundary=---------------------------146043902153
Cookie: wikidb_tw__session=****************; wikidb_tw_UserID=2;
wikidb_tw_UserName=Sborsody; wikidb_tw
_Token=********************
Host: www.tyvawiki.org
Keep-Alive: 300
Referer: http://www.tyvawiki.org/index.php?title=TyvaWiki:Sandbox&action=edit
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.2)
Gecko/20060308 Firefox/1.5.0.2

Start request
GET /wiki/TyvaWiki:Sandbox
Accept:
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Accept-Encoding: gzip,deflate
Accept-Language: en-us,en;q=0.5
Connection: keep-alive
Host: tyvawiki.org
If-Modified-Since: Fri, 28 Apr 2006 18:33:57 GMT
If-None-Match: W/"wikidb:pcache:idhash:*******************"
Keep-Alive: 300
Referer: http://www.tyvawiki.org/index.php?title=TyvaWiki:Sandbox&action=edit
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.2)
Gecko/20060308 Firefox/1.5.0.2
Comment 1 Brion Vibber 2006-04-29 21:24:30 UTC
Set up your server to consistently use a single hostname and redirect alternates
to the canonical form, or you can expect to have such troubles.

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


Navigation
Links