Do I need escaping url on each method? |
Hi, guys.
I have class page with methods like this: index() (uses list() method inside) add() (uses form() method inside) edit() (uses form() method inside) delete() (uses form() method inside) list() form() I have field filter_name for filtering pages in index() method with this script Code: $('#button-filter').on('click', function() { Then links are created with filter_name section: Code: private function list() { So, my question. Is this safe in security point of view? Or I must do something like this Code: if (isset($this->uris[$u1])) { But this gets me problem when click on add button and then return to the original list page. Thanks. |
Messages In This Thread |
Do I need escaping url on each method? - by wishmaster - 09-24-2018, 09:53 AM
RE: Do I need escaping url on each method? - by jreklund - 09-24-2018, 10:33 AM
RE: Do I need escaping url on each method? - by wishmaster - 09-24-2018, 10:57 AM
RE: Do I need escaping url on each method? - by jreklund - 09-24-2018, 01:59 PM
|