Do not redirect if browser asks for a .properties file#38181
Conversation
|
Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes. |
|
Couple of things to consider:
|
I would not recommend a manual driven adoption for existing installations. How ill you propagate this properly so it will be implemented? Just giving a note in the changelog and hope is imho insufficient... |
|
The touched function is called during the upgrade, and there is also an occ command to update the .htaccess manually if needed. |
|
You should add a changelog to satisfy the bot 😄 |
|
I haven't seen a complain about this, so I don't think it's critical enough to make noise. |
|
Kudos, SonarCloud Quality Gate passed! |
|
All green, merging? |
Description
files_pdfviewer app asks for a locale.properties file in order to handle the translations. In some setups, this request gets redirected to the files view, so the app can't get the translations.
This change makes possible to get the file so the files_pdfviewer can translate the pdf viewer content according to the language set by the user.
Related Issue
No issue related. Found in owncloud/files_pdfviewer#228 (comment)
Motivation and Context
The whole UI should be shown in the same language.
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: