Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiasKaminsky committed Jun 19, 2016
1 parent 704ffb4 commit 0e4243c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,7 @@ private Bitmap doOCFileInBackground() {
px + "/" + px + Uri.encode(file.getRemotePath(), "/");
Log_OC.d("Thumbnail", "URI: " + uri);
get = new GetMethod(uri);
get.setRequestHeader("Cookie", "nc_sameSiteCookielax=true;nc_sameSiteCookiestrict=true");
int status = mClient.executeMethod(get);
if (status == HttpStatus.SC_OK) {
InputStream inputStream = get.getResponseBodyAsStream();
Expand Down

0 comments on commit 0e4243c

Please sign in to comment.