On Wed, Feb 9, 2011 at 16:13, Brion Vibber <br...@pobox.com> wrote: > On Wed, Feb 9, 2011 at 5:15 AM, Bill Traynor <btray...@gmail.com> wrote: > > > On Mon, Feb 7, 2011 at 15:28, Brion Vibber <br...@pobox.com> wrote: > > > Does > > > this happen when following the 'Upload' link on the sidebar as well? > > > > > > No, it does not, but I think our URL rewrite rules may have something to > do > > with this issue. A link from a File mediawiki link looks like this: > > > > > http://elinux.org/index.php?title=Special:Upload&wpDestFile=Android_test.png > > > > Does that URL look ok? > > > > Yes, that looks fine. Hmm... some quick testing: > > no login: > > http://elinux.org/index.php?title=Special:Upload&wpDestFile=Android_test.png > ok login: > > http://elinux.org/index.php?title=Special:Upload&wpDestFile=Android_test_png > > ok login: http://elinux.org/Empty_page > ok login: http://elinux.org/Empty_page_png > no login: http://elinux.org/Empty_page.png > ok login: http://elinux.org/Empty_page.abc > no login: http://elinux.org/Empty_page.txt > > Might there be some kind of rule that's eating cookies if the URL > (including > query string) ends in what looks like a static file extension? >
It turned out to be an issue with the Varnish Cache. Varnish noticed the .jpg or .png or whatever so it assumed it was an image (because Varnish had a rule to assume as much) and therefore cached the upload page. The admin added an exception triggered by the "Special:Upload" string in the URL. > -- brion > _______________________________________________ > MediaWiki-l mailing list > MediaWiki-l@lists.wikimedia.org > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l > _______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l