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

Commit c2c351c

Browse files
committed
set max redirect count for owncloud client to 5
1 parent ca20617 commit c2c351c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

owncloudComLibrary/src/main/java/com/owncloud/android/lib/common/OwnCloudClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public class OwnCloudClient extends HttpClient {
5858
public static final String WEBDAV_PATH_4_0_AND_LATER = "/remote.php/dav";
5959
public static final String STATUS_PATH = "/status.php";
6060
private static final String WEBDAV_UPLOADS_PATH_4_0 = "/remote.php/dav/uploads/";
61-
private static final int MAX_REDIRECTIONS_COUNT = 3;
61+
private static final int MAX_REDIRECTIONS_COUNT = 5;
6262
private static final int MAX_REPEAT_COUNT_WITH_FRESH_CREDENTIALS = 1;
6363

6464
private static byte[] sExhaustBuffer = new byte[1024];

0 commit comments

Comments
 (0)