URL squashed and changed

Permalink
I've got a URL from Amazon, and it looks like TinyMCE is encoding it, for example changing all the % to 20&amp.

I've modified the editor_config.php file in several ways, and have done this successfully for other issue, but this one isn't fixing.

Normally, the encoding is a good and useful thing...until you don't want it. Is there a simple way to escape it on a specific instance?

 
mran replied on at Permalink Reply
Here are some things I have done to fix this problem:

Followed the advice given in the FAQ, where you edit the editor_config.php file. I have added variously the following in several combinations:

relative_urls : false,
   convert_urls: false,
   entity_encoding : "raw",


I have also edited the /js/tiny_mce_309/tiny_mce.js file so that the convert_urls and relative_urls were both set to 0.

The content I originally intended to publish, which has originated this whole search, was an iframe from Amazon. It looks like this:

<iframe src="http://rcm.amazon.com/e/cm?t=larg-20&o=1&p=8&l=as1&asins=B001GGVKFG&fc1=000000&IS2=1&lt1=_blank&m=amazon&lc1=0000FF&bc1=000000&bg1=FFFFFF&f=ifr" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe>


No matter what settings I am using, the URL still gets encoded. Obviously, I am not editing the right thing.

Also, even with the URL altered, this iframe will work in IE, but in FF, the iframe does not appear at all.

Not one thing I have done has made an image link from Amazon show up at all; I'm assuming this will hold true for any complex URL that has % and other characters in it.

I'd absolutely love to be able to fix this. Until I ran into this problem, I was very stoked about C5, and was planning to build a number of client sites with it, but if this problem cannot be fixed, it is essentially useless to me. :(
yamanoi replied on at Permalink Reply