Skip to main content
emilyh10188722
April 8, 2020

Spaces in file names?

  • April 8, 2020
  • 1 reply
  • 4578 views

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.

1 reply

Adobe Employee
April 8, 2020

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.

BrianKasingli
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
April 10, 2020
Good one jbrar. Possibly the Apache rewrite rules does not allow such patterns.