diff --git a/app/src/main/java/com/nextcloud/android/sso/InputStreamBinder.java b/app/src/main/java/com/nextcloud/android/sso/InputStreamBinder.java index 9ca400d2d11216541ebe29519f9b24389ca81147..3b81f2339329832e8cc71f4f4f836daaffafeb54 100644 --- a/app/src/main/java/com/nextcloud/android/sso/InputStreamBinder.java +++ b/app/src/main/java/com/nextcloud/android/sso/InputStreamBinder.java @@ -360,7 +360,7 @@ public class InputStreamBinder extends IInputStreamService.Stub { } } - client.setFollowRedirects(request.isFollowRedirects()); + client.setFollowRedirects(true); int status = client.executeMethod(method); // Check if status code is 2xx --> https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#2xx_Success @@ -428,7 +428,7 @@ public class InputStreamBinder extends IInputStreamService.Stub { } } - client.setFollowRedirects(request.isFollowRedirects()); + client.setFollowRedirects(true); int status = client.executeMethod(method); // Check if status code is 2xx --> https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#2xx_Success