Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[htaccess] Modifies rule to allow spaces in filename when downloading files. #9029

Conversation

racostas
Copy link
Contributor

Brief summary of changes

  • The flags B and BNP were added to the rewrite rule that redirect to index.php.
  • This is need as files who have spaces in the name are not longer downloading (e.g. the Document Repository)
  • This issue seems to appear after the upgrade of the Apache server. More details can be found in the original issue sent to LORIS:
    [document_repository] can't download file with spaces in the name #8706

Testing instructions (if applicable)

  1. Go to one of the modules that manage files (e.g Document Repository)
  2. Try to download a file where the filenames contains spaces.
  3. The file should properly download.
  4. Be sure nothing else breaks elsewhere ( this change is done in the .htaccess file, very low level)

Link(s) to related issue(s)

@driusan driusan self-assigned this Feb 6, 2024
@driusan driusan merged commit 9fbe7a6 into aces:main Feb 27, 2024
28 checks passed
@ridz1208 ridz1208 added this to the 26.0.0 milestone Apr 9, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants