Skip to content

Preview of text file truncated #1452

@ScharfViktor

Description

@ScharfViktor

related #1420

Describe the bug

A clear and concise description of what the bug is.

Steps to reproduce

  1. upload txt file https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/filesForUpload/lorem.txt
  2. open preview in the right sidebar request like: remote.php/dav/spaces/spaceId/lorem.txt?scalingup=0&preview=1&a=1&processor=thumbnail&c=c5985ab688cc88362a9cfe7d9d284379&x=1200&y=1200

Expected behavior

user can see UTF characters in the preview. latin and cyrillic work fine

Actual behavior

file is truncated:

Image

I received a file with a size of 640x640, although the request was for 1200x1200.

Image

Setup

opencloud_full 3.4.0 rolling

Details

OC_XXX=somevalue
OC_YYY=somevalue
PROXY_XXX=somevalue

Additional context

Add any other context about the problem here.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions