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

Some Office documents are not automatically opened with Only Office in the browser, but can only be downloaded #925

Open
molsondry opened this issue Jan 12, 2024 · 2 comments · Fixed by #945
Labels
bug Something isn't working

Comments

@molsondry
Copy link

Some Office documents are not automatically opened with Only Office in the browser, but can only be downloaded. This applies to all Office files whose file extension is NOT in lower case. If you change the file extension to lower case, the assignment to the application works again.
This bug here is deterministic. Use small letters for the file extension: application opens, use capital letters: application does not open and download starts instead.
Please look at these screenshots with one capital letter (can be more as well) in the file extension, Nextcloud is about to download (herunterladen in German)
image

And here the second file name with small letters only, Nextcloud is about to open OnlyOffice:
image

@arnowelzel
Copy link
Contributor

Well - having an extension ".xlsX" instead of ".xlsx" is a difference. I would just rename the file to fix this.

@enbata
Copy link

enbata commented Feb 21, 2024

Hi. We receive documents from third party software and some of them use extension in uppercase. Yes, i know that they should not to do this but we cant do anything.

So, its possible check the extension casting it to lowercase? Not change the file name/extension, only cast it to lowecase when checking if onlyoffice can open it.

Regards

@LinneyS LinneyS added the bug Something isn't working label Feb 21, 2024
@LinneyS LinneyS linked a pull request Feb 21, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants