dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2b914d
)
Expand URLs in SquidPurgeClient too
author
Roan Kattouw
<catrope@users.mediawiki.org>
Wed, 5 Oct 2011 20:04:34 +0000
(20:04 +0000)
committer
Roan Kattouw
<catrope@users.mediawiki.org>
Wed, 5 Oct 2011 20:04:34 +0000
(20:04 +0000)
includes/SquidPurgeClient.php
patch
|
blob
|
history
diff --git
a/includes/SquidPurgeClient.php
b/includes/SquidPurgeClient.php
index
3de6857
..
506ada9
100644
(file)
--- 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" .