• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Codeigniter stripping script tags

#6
[eluser]Anuja[/eluser]
Hello InsiteFX,

I have read this post.
I want to provide the functionality to add / edit goggle analytic code form admin section.
But due to the xss clen some of the script tags gets removed and instead of them it gives '[removed]' word.
It will be work fine if we have disables the xss clean globally and $this->input->post(‘field’, FALSE);
But I don't want to disable xss_clean globally.

So I want answer for can we do it excluding only one field?

Currently I have done this task by replacing the '[removed]' word with original as in code.
But not sure that Google analytic code has same format for all. or it provides different each time.
Can you tell me for this also.

Thank You In Advance.


Messages In This Thread
Codeigniter stripping script tags - by El Forum - 03-05-2011, 10:52 AM
Codeigniter stripping script tags - by El Forum - 03-05-2011, 09:52 PM
Codeigniter stripping script tags - by El Forum - 03-06-2011, 09:31 AM
Codeigniter stripping script tags - by El Forum - 03-17-2011, 07:05 AM
Codeigniter stripping script tags - by El Forum - 03-17-2011, 01:23 PM
Codeigniter stripping script tags - by El Forum - 03-18-2011, 12:55 AM
Codeigniter stripping script tags - by El Forum - 03-18-2011, 09:04 AM
Codeigniter stripping script tags - by El Forum - 03-21-2011, 10:14 PM
Codeigniter stripping script tags - by El Forum - 03-22-2011, 05:05 AM
Codeigniter stripping script tags - by El Forum - 03-22-2011, 11:00 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.