Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Spaces in file names?

emilyh10188722
Level 1
Level 1

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. 

2 Replies
jbrar
Employee
Employee

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
Community Advisor
Good one jbrar. Possibly the Apache rewrite rules does not allow such patterns.