CodeIgniter 4 - Insert HTML from CKEditor to Database? |
(11-11-2020, 07:42 AM)InsiteFX Wrote: Run your code through one of these htmlspecialchars or htmlentities also use CI esc() method. Thank you for your reply. Does the model automatically escape_string before insert in DB? Functions htmlspecialchars / htmentities or esc() are output functions, so I don't need to secure CKEditor output before insert in db? (I mean SQL Injection - functions writed by you in previous post help with secure from XSS). All my script work on CodeIgniter Model. Thank you, have a nice day |
Messages In This Thread |
CodeIgniter 4 - Insert HTML from CKEditor to Database? - by crazze - 11-11-2020, 02:30 AM
RE: CodeIgniter 4 - Insert HTML from CKEditor to Database? - by InsiteFX - 11-11-2020, 07:42 AM
RE: CodeIgniter 4 - Insert HTML from CKEditor to Database? - by crazze - 11-11-2020, 08:14 AM
RE: CodeIgniter 4 - Insert HTML from CKEditor to Database? - by InsiteFX - 11-11-2020, 12:36 PM
|