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

Original files that contain encoded characters don't load on default site paths #728

Open
ericras opened this issue May 21, 2024 · 1 comment

Comments

@ericras
Copy link
Member

ericras commented May 21, 2024

To reproduce bug:

  • Be on a site with a default path and no domain like https://cms.unl.edu/sample/site/
  • Upload a file with a name like Morrill%20Hall.jpg that contains an encoded space
  • Try to access the original file.

Like so:
https://cms.unl.edu/ianr/east-campus-discovery/sites/unl.edu.ianr.east-campus-discovery/files/2024-05/Morrill%2520Hall.jpg?itok=0GnZVcmW

Workarounds:

  • Have a domain directed at the site like sample.unl.edu
  • If outputting an image, use an image style.
@beckyaiken
Copy link

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