You need to be logged in to post in the forum - Log In
An active JCE Pro Subscription is required to post in the forum - Buy a Subscription
- Support
- Forum
- JCE Editor
- Ampersand being stripped in iFrame
Support is currently Online
Official support hours:
Monday To Friday
From 09:00 To 17:00 Europe/London (BST)
From 09:00 To 17:00 Europe/London (BST)
Hi there, I am trying to use an iFrame that has an ampersand in it. Something like this
<iframe src="https://system.12345.com/cape/website/EventDetails.aspx?WebEventId=2021&resize=true"></iframe>
But it changes the & to be &
<iframe src="https://system.12345.com/cape/website/EventDetails.aspx?WebEventId=2021_&resize=true"></iframe>
Thanks in advance for your help.
<iframe src="https://system.12345.com/cape/website/EventDetails.aspx?WebEventId=2021&resize=true"></iframe>
But it changes the & to be &
<iframe src="https://system.12345.com/cape/website/EventDetails.aspx?WebEventId=2021_&resize=true"></iframe>
Thanks in advance for your help.
For the record, the script processing the iframe's content is at fault, as it should take into account the encoded url value, as this is the HTML standard.
As a workaround, in the Editor Global Configuration, add a Custom Configuration Variable with the Key set to cleanup_pluginmode and Value set to true, eg:
As a workaround, in the Editor Global Configuration, add a Custom Configuration Variable with the Key set to cleanup_pluginmode and Value set to true, eg:
Just because you're not paranoid doesn't mean everybody isn't out to get you.
more than a month ago
·
#108396
Thanks for the quick response. Yes, it made that change.
This breaks the iframe and so I was wondering if there was a workaround.
Thanks!
This breaks the iframe and so I was wondering if there was a workaround.
Thanks!
The form has mangled you code example, but I assume you are saying that the & is being converted to an & amp; ?
If this is correct, then this is how it is supposed to be, as attribute values must always be encoded.
If this is correct, then this is how it is supposed to be, as attribute values must always be encoded.
Just because you're not paranoid doesn't mean everybody isn't out to get you.
- Page :
- 1
There are no replies made for this post yet.
Be one of the first to reply to this post!
Be one of the first to reply to this post!