Basically as the title suggests. I have a link to a pdf file, the file name has a space in it, so i am using %20 as an encoder...for example foo%20bar.pdf. The encoder is hard coded into the link, (eg %20 is written in the link /sites/default/files/foo520bar.pdf). When a user clicks said link, the result is a blank page with the word "undefined"

Unfortunately there are too many links to manually update each file and link (several thousand).

Please advise, thanks!

Comments

syntheticMedia’s picture

I would like to add to this that any cck file fields that are clicked result in undefined as well, even those without url encoders. Any advice would be appreciated, thanks!

Sol Roth’s picture

I'm also having this issue

profelm’s picture

Version: 6.x-3.x-dev » 7.x-2.0-beta1

I'm also running into this issue, but in D7.

profelm’s picture

Out of curiosity, what does the <a> tag look like for what you are trying to click?

I have been doing some debugging and it turns out that for my links which are not html pages should be requested with the option 'data-ajax="false"', and they were clickable. Another workaround is to set the 'rel' attribute be 'rel=external', and it works.

I found some other gunk in my "rel" tag due to Lightbox. At the moment, I'm planning on tackling this issue but have little development experience so it probably won't be done by me, haha.

profelm’s picture

Issue summary: View changes

made more descriptive