Page MenuHomePhabricator

RSS/Atom feeds occasionally incorrectly link to secure.wikimedia.org and vice versa
Closed, ResolvedPublic

Description

Author: rockmfr

Description:
RSS/Atom feeds occasionally incorrectly link to the secure site when on the non-secure site and link to the non-secure site when on the secure site. This appears to be a caching issue.

Steps to reproduce:

  1. Go to https://secure.wikimedia.org/wikipedia/en/wiki/Special:RecentChanges?feed=rss - the links will likely link to en.wikipedia.org
  2. Refresh a bunch of times until the links point to secure.wikimedia.org
  3. Quickly go to http://en.wikipedia.org/w/index.php?title=Special:RecentChanges&feed=rss - the links will now point to secure.wikimedia.org

Version: unspecified
Severity: normal

Details

Reference
bz22918

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:59 PM
bzimport set Reference to bz22918.
bzimport added a subscriber: Unknown Object (MLST).

Created attachment 7236
patch to append $wgRenderHashAppend to the cache key of cached RC feeds

Here's a patch that i believe solves the issue. All it does is append $wgRenderHashAppend to the cache key used for stuff produced by the ChangesFeed class.

Attached:

See also Bug 20040
which is a similar issue for categoryTree.