git-annex/Remote
Joey Hess 2ca1d3cc01
deal with box.com horrible infinite redirect behavior
webdav: Checking if a non-existent file is present on Box.com triggered a
bug in its webdav support that generates an infinite series of redirects.

It seems to redirect foo to foo/ to foo/index.php to
foo/index.php/index.php ... Why a webdav endpoint would behave this way
who knows.

Deal with such problems by assuming such behavior means the file is not
present.

Can't simply disable following redirects, because the webdav endpoint could
legitimately be redirected to a new endpoint. So, when this happens
10 redirects have to be followed, before it gives up and assumes this means
the file does not exist.

This commit was supported by the NSF-funded DataLad project.
2017-09-12 15:13:42 -04:00
..
Directory remove 163 lines of code without changing anything except imports 2016-01-20 16:36:33 -04:00
External External special remote protocol extended to support export. 2017-09-08 14:24:05 -04:00
Helper don't show key urls in whereis for S3 with public=yes and exporttree=yes 2017-09-08 16:44:00 -04:00
Rsync adeiu, MissingH 2017-05-16 01:03:52 -04:00
WebDAV export to webdav 2017-09-12 14:10:09 -04:00
BitTorrent.hs prevent exporttree=yes on remotes that don't support exports 2017-09-07 13:48:44 -04:00
Bup.hs prevent exporttree=yes on remotes that don't support exports 2017-09-07 13:48:44 -04:00
Ddar.hs prevent exporttree=yes on remotes that don't support exports 2017-09-07 13:48:44 -04:00
Directory.hs External special remote protocol extended to support export. 2017-09-08 14:24:05 -04:00
External.hs External special remote protocol extended to support export. 2017-09-08 14:24:05 -04:00
GCrypt.hs prevent exporttree=yes on remotes that don't support exports 2017-09-07 13:48:44 -04:00
Git.hs prevent exporttree=yes on remotes that don't support exports 2017-09-07 13:48:44 -04:00
Glacier.hs prevent exporttree=yes on remotes that don't support exports 2017-09-07 13:48:44 -04:00
Hook.hs prevent exporttree=yes on remotes that don't support exports 2017-09-07 13:48:44 -04:00
List.hs prevent exporttree=yes on remotes that don't support exports 2017-09-07 13:48:44 -04:00
P2P.hs prevent exporttree=yes on remotes that don't support exports 2017-09-07 13:48:44 -04:00
Rsync.hs prevent exporttree=yes on remotes that don't support exports 2017-09-07 13:48:44 -04:00
S3.hs update copyright year 2017-09-12 13:53:03 -04:00
Tahoe.hs prevent exporttree=yes on remotes that don't support exports 2017-09-07 13:48:44 -04:00
Web.hs prevent exporttree=yes on remotes that don't support exports 2017-09-07 13:48:44 -04:00
WebDAV.hs deal with box.com horrible infinite redirect behavior 2017-09-12 15:13:42 -04:00