Scrambled tags (iframe becomes i-frame)

If you are trying to add a script, style or iframe tag in one of your WordPress posts or 3rd party plugins and the tag is scrambled after you save your changes, this is caused by one of the protection filters applied by RSFirewall!: the Javascript Protections filter. This option will help protect you against JavaScript injections by disrupting the starting tags, for example an <iframe> tag will be changed to <i-frame>


In order to avoid this filtering you can:

  • add the IP of the working PC you are using in the RSFirewall! Safelist(RSFirewall! > Blocklist/Safelist) - this way all the security filters and restrictions applied by the component will be ignored for your IP
  • add an exception in the RSFirewall! - Exceptions tab (RSFirewall! > Exceptions).
  • edit the Javascript Protections settings from the Active Scanner configuration(RSFirewall! > Configuration > Active Scanner) and disable the filter for POST or GET data depending on your scenario

Note: disrupted tags won't rectify themselves, you'll have to manually correct these afterwards.

Was this article helpful?

Yes No
Sorry about that