diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2019-11-05 19:19:16 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2019-11-17 09:11:15 +0100 |
commit | c08e803db305edb06bf6a0857a37689bcc19e613 (patch) | |
tree | 86a2782a04ac47ec12c3efc62f4866bcd95c926e /remote.php | |
parent | 30bdb0f35b4d6caf644a331d53b7cbda0ca5386f (diff) | |
download | nextcloud-server-c08e803db305edb06bf6a0857a37689bcc19e613.tar.gz nextcloud-server-c08e803db305edb06bf6a0857a37689bcc19e613.zip |
Catch forbidden http status code
If you try to do something on a DAV mount (external or federated share)
that is not allowed. We should not mark the storage as not available but
just fail somewhat gracefully.
Now by catching this and just properly returning the operation will just
fail (and notify the user) which is already a lot better then marking
the storage as unavailable and doing boom.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'remote.php')
0 files changed, 0 insertions, 0 deletions