Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preview of Null file is requested when "Transfer" tab is open #3249

Open
skjerns opened this issue Dec 22, 2024 · 0 comments
Open

Preview of Null file is requested when "Transfer" tab is open #3249

skjerns opened this issue Dec 22, 2024 · 0 comments

Comments

@skjerns
Copy link

skjerns commented Dec 22, 2024

When uploading my photo library I discovered that there are many 404s in my access log. These request a preview of an empty file id. This only occurs when I have the "Transfer" tab is open.

Steps to reproduce

  1. Upload files via Automatic Photo Uploading
  2. Open "Transfer" tab

The following requests appear en-masse in my access log (dozens per second after uploading a file) wh

2024-12-22 10:43:36	Error	2003:e5:9f13:c800:502e:xxxx	404	GET /index.php/core/preview?fileId=&x=1024&y=1024&a=1&mode=cover&forceIcon=0&mimeFallback=0 HTTP/1.0

Image

the iOS log says the following about this:

2024-12-22 10:51:22 [INFO] Upload complete https://nextcloudinstance.dummy.de/remote.php/dav/files/Simon/Camera Uploads/2016-08-14 18-11-45_2235.mov, result: success(19183362 bytes)
2024-12-22 10:51:23 Network request started: GET https://nextcloudinstance.dummy.de/index.php/core/preview?fileId=&x=1024&y=1024&a=1&mode=cover&forceIcon=0&mimeFallback=0
2024-12-22 10:51:23 Network request headers: ["Content-Type": "application/x-www-form-urlencoded", "OCS-APIRequest": "true", "User-Agent": "Mozilla/5.0 (iOS) Nextcloud-iOS/6.2.1", "Accept": "application/json", "Authorization": "Basic TOKENRETRACTED"]
2024-12-22 10:51:23 Network request body: None
2024-12-22 10:51:23 Network request started: GET https://nextcloudinstance.dummy.de/index.php/core/preview?fileId=&x=1024&y=1024&a=1&mode=cover&forceIcon=0&mimeFallback=0
2024-12-22 10:51:23 Network request headers: ["Content-Type": "application/x-www-form-urlencoded", "OCS-APIRequest": "true", "User-Agent": "Mozilla/5.0 (iOS) Nextcloud-iOS/6.2.1", "Accept": "application/json", "Authorization": "Basic TOKENRETRACTED"]
2024-12-22 10:51:23 Network request body: None
2024-12-22 10:51:23 Network request started: GET https://nextcloudinstance.dummy.de/index.php/core/preview?fileId=&x=1024&y=1024&a=1&mode=cover&forceIcon=0&mimeFallback=0
2024-12-22 10:51:23 Network request headers: ["Content-Type": "application/x-www-form-urlencoded", "OCS-APIRequest": "true", "User-Agent": "Mozilla/5.0 (iOS) Nextcloud-iOS/6.2.1", "Accept": "application/json", "Authorization": "Basic TOKENRETRACTED"]
2024-12-22 10:51:23 Network request body: None
2024-12-22 10:51:23 Network request started: GET https://nextcloudinstance.dummy.de/index.php/core/preview?fileId=&x=1024&y=1024&a=1&mode=cover&forceIcon=0&mimeFallback=0
2024-12-22 10:51:23 Network request headers: ["Content-Type": "application/x-www-form-urlencoded", "OCS-APIRequest": "true", "User-Agent": "Mozilla/5.0 (iOS) Nextcloud-iOS/6.2.1", "Authorization": "Basic TOKENRETRACTED", "Accept": "application/json"]
2024-12-22 10:51:23 Network request body: None

Environment data

iOS version: 18

Nextcloud iOS app version: 6.2.1.0

Server operating system:

Web server: Apache, nginx

PHP version: 8.3

Nextcloud version: 30.0.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant