Closed mrAceT closed 1 year ago
Cc @come-nc
PS: @szaimen I updated the bug description a bit, hope it helps
AD: I use AWS S3 for primary file storage, but since PHP7.4 works fine, one would not think it to be a part of the problem?
(I knew I mentioned something "with spaces" here before!)
I have a test-setup that I had previously updated to Nextcloud 25 and PHP8.1 I now had a serious bug in my nextCloud and decided it was time to update my "production Nextcloud" to PHP 8.1 and I forgot I had the "space problem" mentioned here..
The bug of it already going wrong at uploading made finding the cause hard.. but after the upgrade I had a file already there with a space in it and viewing also didn't work.. now I found the cause!
#37852 fixes this bug!! Not only does it make it possible to view a file with a space in it, now I can also upload a file with a space in it! (I tested this with my test-setup, which does not have this "Q&D-fix" an there I still can not upload, but my production-version it does work! me happy ;)
⚠️ This issue respects the following points: ⚠️
Bug description
I use AWS S3 for primary file storage. A file called "test.jpg" uploads fine, also "test1.jpg" is no problem, but uploading "test 1.jpg" fails with no warnings/errors what so ever!
When I check the network tab in Chrome (via F12) I see a "PUT" with remote.php/webdav/test/test%201.jpg and a "PROPFIND" with the same URL there is says (with HTML formatting) "App not installed:" (but not telling which app..)
The same happens with a file WITHOUT a space, but there the PROPFIND returns an XML result! (and all goes wel..)
Steps to reproduce
Expected behavior
1) it should upload the file 2) it should tell me what went wrong (even loglevel set to 3 doesn't tell me anything..
Installation method
Community Web installer on a VPS or web space
Operating system
RHEL/CentOS
PHP engine version
PHP 8.1
Web server
Apache (supported)
Database engine version
MySQL
Is this bug present after an update or on a fresh install?
Fresh Nextcloud Server install
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
Configuration report
No response
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info
When I configure Apache to use PHP 7.4 with the same Nextcloud installation there isn't ANY problem!
So this must be related to PHP 8 somehow.. but I installed all the modules, there are no warnings what so ever in 'settings/admin/overview'