-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
AmazonS3 ContentType Bug #11128
Comments
This issue has been automatically marked as stale because it has not had recent activity and it seems to be missing some essential informations. It will be closed if no further activity occurs. Thank you for your contributions. |
Thanks a lot for digging 👍 Is this still happening? The code looks like your code already 🤔 For which version do you developed your patch? |
This issue has been automatically marked as stale because it has not had recent activity and it seems to be missing some essential informations. It will be closed if no further activity occurs. Thank you for your contributions. |
@RasenFx Would be cool if you could check that again. |
As there is no feedback since a while and we can't reproduce the issue I will close this ticket. If this is still happening please feel free to reopen. |
Steps to reproduce
Expected behaviour
I reviewed the file uploaded in S3 and the problem it's that NextCloud App (External Files) don't send the metadata that S3 need to know what do with the file and force to download the file, this happend with (jpg, pdf, html, etc) I fixed the problem in my server, the problem it's in this file: apps/files_external/lib/Lib/Storage/AmazonS3.php, line: 590 and I put the next code to solve the problem:
`
`
I hope that this help thanks
Actual behaviour
Tell us what happens instead
Server configuration
Operating system:
Web server:
Database:
PHP version:
Nextcloud version: (see Nextcloud admin page)
Updated from an older Nextcloud/ownCloud or fresh install:
Where did you install Nextcloud from:
Signing status:
Signing status
List of activated apps:
App list
Nextcloud configuration:
Config report
Are you using external storage, if yes which one: local/smb/sftp/...
Are you using encryption: yes/no
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
LDAP configuration (delete this part if not used)
LDAP config
Client configuration
Browser:
Operating system:
Logs
Web server error log
Web server error log
Nextcloud log (data/nextcloud.log)
Nextcloud log
Browser log
Browser log
The text was updated successfully, but these errors were encountered: