RSFirewall! doesn't allow me to edit my template files

Sometimes RSFirewall! can be a little too restrictive when it comes to PHP, JavaScript and SQL protections. For example, when users attempt to save the modifications they made to their templates' files (through Joomla!'s default Templates functionality, in Extensions > Templates), RSFirewall! will block this and consider it a JavaScript injection. To avoid this, you can create an exception:

 
  • Head to Components > RSFirewall! > Exceptions
  • Click on New
  • Select Component in the Exception Type dropdown
  • Add com_templates in the Match textbox
  • Set Skip PHP Protections, Skip SQL Protections and Skip Upload Protections to No.
  • Set Skip JS Protections to Yes.
  • Click on Save or Save & Close.
 

By setting up the exception described above, RSFirewall! will disregard any potential JavaScript injection associated with the com_templates component.

 

Important note:

When you save template files that contain <script> or <iframe> tags (without having created an exception similar to the one presented in this article) , RSFirewall! will modify these tags into <s-cript> and <i-frame> instead, thus disabling their functionality by rendering them unrecognisable by web browsers. Please note that, after creating the exception, RSFirewall! will not change the tags to their original state, you will need to do so manually.

Was this article helpful?

Yes No
Sorry about that

You Should Also Read

Scrambled tags (iframe becomes i-frame) HOT

Exceptions HOT

RSFirewall! blocks PayPal responses

RSFirewall! interferes with a component I'm using