CodeIgniter Tutorial : XSS filtering on CodeIgniter Form

Поділитися
Вставка
  • Опубліковано 26 жов 2024

КОМЕНТАРІ • 8

  • @ergeryeklejrfkeht9157
    @ergeryeklejrfkeht9157 Рік тому +1

    thanks😁

  • @baselnasser5076
    @baselnasser5076 5 років тому +1

    From the Codeigniter Documentation:
    Note
    "XSS filtering should only be performed on output. Filtering input data may modify the data in undesirable ways, including stripping special characters from passwords, which reduces security instead of improving it."

  • @loginet1
    @loginet1 6 років тому +5

    This is deprecated. You will have to use $config['global_xss_filtering'] = FALSE; and use $this->input->post('some_data', TRUE); instead. The TRUE paarameter will get the value of $_POST['some_data']and run it through xss_clean()

  • @irshadansari6332
    @irshadansari6332 7 років тому

    Thanx for info. in newer version of codeigniter you have to turn it TRUE and just pass it to autoload helper, dont need to go to every form and clean the data, its automatically clean the data..:))

  • @trikkecil7455
    @trikkecil7455 4 роки тому

    nuhun mamang :)

  • @shaponpal3378
    @shaponpal3378 7 років тому

    Good