Page MenuHomePhabricator

purgeList.php doesn't purge all URL variants provided in the TitleSquidURLs hook
Open, Needs TriagePublic

Description

There's a hook called TitleSquidURLs used to change / add URL variants of pages, used when sending PURGE requests to squid / varnish. However, the maintenance script purgeList.php only sends PURGE requests to the internal URL.

In fact, when a page is edited, by default it sends PURGE requests to the internal URL and also to the action=history URL. However, purgeList.php doesn't send PURGE request to action=history neither.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptDec 23 2017, 2:58 PM

Tagging as good first bug, looks it should take only a few lines of code on the maintenance script itself to fix this.

Restricted Application added a subscriber: TerraCodes. · View Herald TranscriptDec 23 2017, 2:59 PM