Skip to content
This repository was archived by the owner on Mar 14, 2025. It is now read-only.

Commit 3bd8b85

Browse files
committed
Merge branch 'develop' into release/1.1.0
2 parents b5e806c + a942d91 commit 3bd8b85

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/org/cryptomator/cloudaccess/webdav/WebDavClient.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,8 @@ void write(final CloudPath file, final boolean replace, final InputStream data,
290290
throw new ForbiddenException();
291291
case HttpURLConnection.HTTP_BAD_METHOD:
292292
throw new TypeMismatchException();
293-
case HttpURLConnection.HTTP_CONFLICT:
293+
case HttpURLConnection.HTTP_CONFLICT: // fall through
294+
case HttpURLConnection.HTTP_NOT_FOUND: // necessary due to a bug in Nextcloud, see https://github.com/nextcloud/server/issues/23519
294295
throw new ParentFolderDoesNotExistException();
295296
case HTTP_INSUFFICIENT_STORAGE:
296297
throw new InsufficientStorageException();

0 commit comments

Comments
 (0)