nextcloud / android

📱 Nextcloud Android app
https://play.google.com/store/apps/details?id=com.nextcloud.client
GNU General Public License v2.0
4.24k stars 1.76k forks source link

Cannot upload files due to invalid characters/reserved names (that are not present) #13658

Open xsolinsx opened 2 weeks ago

xsolinsx commented 2 weeks ago

⚠️ Before posting ⚠️

Steps to reproduce

  1. use a gallery/FM app to select a picture/video
  2. select the item and tap on share
  3. select nextcloud and pick the folder to upload to
  4. click on "upload"

Expected behaviour

the file does get uploaded correctly

Actual behaviour

nextcloud app says "this file cannot be uploaded" "some contents cannot able to uploaded due to contains reserved names or invalid characters"

Android version

14

Device brand and model

Nothing Phone 2a

Stock or custom OS?

Stock

Nextcloud android app version

3.30.0

Nextcloud server version

30

Using a reverse proxy?

Yes

Android logs

No response

Server error logs

No response

Additional information

no server log available, it seems to be a client-side check no client logs available but I tested the DEV version of 20240927 and the upload did work fine without raising the issue

I'm uploading a file named xcdB.mp4 under a folder named temp on nextcloud's root

this started happening with the new update (don't know if server or android app but I believe it's the app's fault since it does not happen with the DEV version), it was working fine previously

MeisterP commented 2 weeks ago

I'm experiencing the same issue after a server update to v30.0.0. The upload over WebDAV or over the web interface is working without issues.

I think the issue is the interaction of the android app with the newer server version.

rainij commented 6 days ago

The update of the android version from 3.30.0 to 3.30.1 fixed the bug for me.