If i enter something along the lines of [[dir/page|Link]],
then freelinking writes the url as:
http://www.mysite.com/freelinking/%25252Fdir%25252Fpage
obviously, i want it to write http://www.mysite.com/dir/page
if anybody has any suggestions i would be really greatfull
Comments
Comment #1
krypton1 commentedI was having this exact same problem. Basically all my freelinks had a 2520 in there instead of just a 20 and it def. looked like it was getting urlencoded twice. I made the fix you suggested, but when I tested it, it was still using the wrong link with the %2520. Deleted all the database entries for freelinking, hit edit->submit on the story I was testing to get the filters run again. Still was having the same problem. Finally, after about 6 hours of head banging on the computer, I tried disabling the SmartyPants module and it seemed to start working. More specifically, I just made the SmartyPants filter run AFTER the freelinking filter (go to administer -> input formats -> configure -> rearrange).
What is bizarre is that now I can't for the life of me duplicate the old error I was getting. In other words, I tried putting the smartypants module BACk to running before freelinking, deleted all freelinks database entries, hit edit submit on the story I was testing, and it still had the CORRECT working links. Maybe there is some part of how the whole thing works that I'm still not understanding, or I'm losing my mind....but I still figured I'd post this in case anyone else is having the same problem. Try disabling the smartypants module or setting it to filter AFTER the freelinks filter on the input formats page. And try deleting the database entries and resubmitting the story you are working on to get the filters run again.
Man this has been a frustrating bug!!
Comment #2
eafarris commentedCommitted a fix to HEAD. Seems to work in my testing. Please verify & close.
Comment #3
(not verified) commented