r99041 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r99040‎ | r99041 | r99042 >
Date:20:04, 5 October 2011
Author:catrope
Status:ok
Tags:
Comment:
Expand URLs in SquidPurgeClient too
Modified paths:
  • /trunk/phase3/includes/SquidPurgeClient.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/SquidPurgeClient.php
@@ -147,7 +147,7 @@
148148 * @param $url string
149149 */
150150 public function queuePurge( $url ) {
151 - $url = str_replace( "\n", '', $url );
 151+ $url = SquidUpdate::expand( str_replace( "\n", '', $url ) );
152152 $this->requests[] = "PURGE $url HTTP/1.0\r\n" .
153153 "Connection: Keep-Alive\r\n" .
154154 "Proxy-Connection: Keep-Alive\r\n" .

Follow-up revisions

RevisionCommit summaryAuthorDate
r990421.18wmf1: MFT r99041catrope20:05, 5 October 2011

Status & tagging log