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:
f5a0c23
)
Fixed loading of stat cache entries into the wrong key
author
Aaron Schulz
<aschulz@wikimedia.org>
Sat, 9 Nov 2013 05:24:24 +0000
(21:24 -0800)
committer
Aaron Schulz
<aschulz@wikimedia.org>
Sat, 9 Nov 2013 05:24:24 +0000
(21:24 -0800)
* Silly bug from
2afdc066f52b54faf63f9c980f7ef6a7841dd094
which caused HEAD
requests. Probably missed in local testing due to memcached.
Change-Id: I3b82ffe964e252eafa5254f7752e5ba45b49ba0e
includes/filebackend/SwiftFileBackend.php
patch
|
blob
|
history
diff --git
a/includes/filebackend/SwiftFileBackend.php
b/includes/filebackend/SwiftFileBackend.php
index
ec2e2c0
..
1787d66
100644
(file)
--- a/
includes/filebackend/SwiftFileBackend.php
+++ b/
includes/filebackend/SwiftFileBackend.php
@@
-1706,7
+1706,7
@@
class SwiftFileBackendFileList extends SwiftFileBackendList {
$relPath = substr( $path, $this->suffixStart );
if ( is_array( $stat ) ) {
$storageDir = rtrim( $this->params['dir'], '/' );
- $this->backend->loadListingStatInternal( "$storageDir/$
p
ath", $stat );
+ $this->backend->loadListingStatInternal( "$storageDir/$
relP
ath", $stat );
}
return $relPath;
}