From: Roan Kattouw Date: Wed, 5 Oct 2011 20:04:34 +0000 (+0000) Subject: Expand URLs in SquidPurgeClient too X-Git-Tag: 1.31.0-rc.0~27249 X-Git-Url: http://git.cyclocoop.org/fichier?a=commitdiff_plain;h=ec0402060f9551f63a85c90781d690f99c9aa725;p=lhc%2Fweb%2Fwiklou.git Expand URLs in SquidPurgeClient too --- diff --git a/includes/SquidPurgeClient.php b/includes/SquidPurgeClient.php index 3de685781d..506ada96d1 100644 --- a/includes/SquidPurgeClient.php +++ b/includes/SquidPurgeClient.php @@ -147,7 +147,7 @@ class SquidPurgeClient { * @param $url string */ public function queuePurge( $url ) { - $url = str_replace( "\n", '', $url ); + $url = SquidUpdate::expand( str_replace( "\n", '', $url ) ); $this->requests[] = "PURGE $url HTTP/1.0\r\n" . "Connection: Keep-Alive\r\n" . "Proxy-Connection: Keep-Alive\r\n" .