diff options
author | Michael Gapczynski <mtgap@owncloud.com> | 2012-12-31 18:16:44 -0500 |
---|---|---|
committer | Michael Gapczynski <mtgap@owncloud.com> | 2012-12-31 18:16:44 -0500 |
commit | d0a50fae8317e4b4871027ee4b2940ab5443961f (patch) | |
tree | b34c7b7225bd2d9addff0059ca3d31b362a08027 /lib/files/cache | |
parent | aea8b0ff5cfe871456f3c1cb8dcf021e21eb2831 (diff) | |
download | nextcloud-server-d0a50fae8317e4b4871027ee4b2940ab5443961f.tar.gz nextcloud-server-d0a50fae8317e4b4871027ee4b2940ab5443961f.zip |
Fix eTagUpdate and add tests
Diffstat (limited to 'lib/files/cache')
-rw-r--r-- | lib/files/cache/updater.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/files/cache/updater.php b/lib/files/cache/updater.php index 26041590091..cfc1ec731e2 100644 --- a/lib/files/cache/updater.php +++ b/lib/files/cache/updater.php @@ -54,7 +54,7 @@ class Updater { } static public function eTagUpdate($path) { - if ($path !== '') { + if ($path !== '' && $path !== '/') { $parent = dirname($path); if ($parent === '.') { $parent = ''; |