nextcloud / ios

📱 Nextcloud iOS App
https://itunes.apple.com/us/app/nextcloud/id1125420102
GNU General Public License v3.0
1.99k stars 882 forks source link

Files cannot be uploaded from iOS Share Sheet #3070

Open joonshakya opened 1 month ago

joonshakya commented 1 month ago

Steps to reproduce

  1. Open a picture in Photos app in iOS.
  2. Tap the share button in bottom left.
  3. From the list of apps in the share sheet, choose Nextcloud. If it is not present in the list of shown apps, select more at the end of the list and choose Nextcloud.
  4. Choose the destination folder and click "Upload 1 files".

Expected behaviour

File should upload.

Actual behaviour

Error uploading files.

Screenshots

IMG_4818

Reasoning or why should it be changed/implemented?

Files cannot be uploaded from iOS Share Sheet.

Environment data

iOS version: iOS 18.0

Nextcloud iOS app version: Nextcloud Hydropgen for iOS 5.5.5.0 @ 2024

Server operating system: Linux 4.18.0-513.9.1.lve.el8.x86_64 x86_64

Web server: Apache

Database: MySQL 10.6.19

PHP version: 8.1.29

Nextcloud version: Nextcloud Hub 9 (30.0.0)

victorsaccucci commented 1 month ago

Good afternoon, are you still having that problem?

mritzmann commented 1 month ago

We had the same problem, the cause was ModSecurity.

@joonshakya If you also use ModSecurity, I would search there.

epvuc commented 2 weeks ago

Same problem for me, ios 18.0.1, nextcloud app 6.0.0. Not using ModSecurity.

Can not create folders from share dialog (ie, when trying to save something shared from the share sheet.)