Highlighted

Spaces in file names?

emilyh10188722

08-04-2020

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. 

Replies

Highlighted

jbrar

Employee

08-04-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.