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

Locale properties don't load when friendly urls is enabled #190

Closed
lainosantos opened this issue Jun 11, 2020 · 2 comments
Closed

Locale properties don't load when friendly urls is enabled #190

lainosantos opened this issue Jun 11, 2020 · 2 comments

Comments

@lainosantos
Copy link

Steps to reproduce

  1. Active friendly urls
  2. Click in file to preview

Expected behaviour

Load locale translations according the browser locale

Actual behaviour

*.properties files is not loaded because rewrite rules in .htaccess change the request to index.php

Add an entry in .htacess to allow pdfjs vendor files solves the problem

...
RewriteCond %{REQUEST_URI} !^/apps/files_pdfviewer/vendor/pdfjs/.*
RewriteRule . index.php [PT,E=PATH_INFO:$1]
@skjnldsv
Copy link
Member

skjnldsv commented Aug 19, 2020

Should be fixed :) (nc20)

@lainosantos
Copy link
Author

This bug remain present in nc20.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants