-
-
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
Unrecongized file extensions are prompted for download instead of opening in text editor #30566
Comments
Moving back to server, as text only operates on the mimetype of a file. |
I was dealing with similar issue to make I figured out the issue by trying to change the Hope this helps : ) |
@LouisSung - Are you essentially saying this is a documentation matter? Would you mind clicking on the "Edit in GitHub" link in the upper right of the page you linked to and suggesting a clarification that would help others that encounter the same situation you did? :) |
Yes if someone just wants to custom the mimetype, such as to ask Nextcloud to recognize an unknown file extension (e.g., to open it in text editor), sure, I have issued a pull request with simple document update |
Files with unrecognized extensions, namely .ps1, are prompted for download instead of opening in a text editor. It seems this is the default for unrecognized extensions, which should absolutely not be the case.
How to use GitHub
Steps to reproduce
Expected behaviour
Any file extension should open in at least the basic text editor.
Actual behaviour
.ps1 files are prompted for download
Server configuration
Default docker from the official page:
The text was updated successfully, but these errors were encountered: