Spaces in file names? | Community
Skip to main content
emilyh10188722
New Participant
Apr 8, 2020 4:37 PM UTC

Spaces in file names?

We're experiencing file issues on our site where users click on a hyperlinked file and instead of the pdf opening, they are routed back to our homepage. In some instances, it seems to be related to spaces in file names. Has there been a recent change where spaces in file names would cause users to be re-directed once clicked on? We've never run into this issue before. The only unifying factor is that this seems to be happening specifically to users who are off our network (not VPN'd in) at the time they click on the link. 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

Employee
Apr 8, 2020 9:27 PM UTC

The common space character is encoded as %20.  For example, If you are uploading "N  9.pdf" with 2 spaces between N and 9. It will be rendered as "/content/dam/N%20%209.pdf"

 

So, you should check if you have any redirects implemented at AEM/Apache level for %20 in the URL.

Translate
BrianKasingli
New Participant
Apr 10, 2020 10:50 AM UTC
Good one jbrar. Possibly the Apache rewrite rules does not allow such patterns.
Translate