admidio icon indicating copy to clipboard operation
admidio copied to clipboard

Improve input filters

Open ximex opened this issue 10 years ago • 4 comments

replace strValidCharacters() with https://php.net/manual/de/book.filter.php

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/13359510-improve-input-filters?utm_campaign=plugin&utm_content=tracker%2F10474012&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F10474012&utm_medium=issues&utm_source=github).

ximex avatar May 06 '15 22:05 ximex

http://www.phparch.com/2010/07/never-use-_get-again/

ximex avatar May 18 '15 20:05 ximex

filter_input is a really nice way to filter inputs from $_GET, $_POST, ...

ximex avatar May 21 '15 10:05 ximex

added first tests: https://github.com/Admidio/admidio/blob/master/adm_program/system/string.php#L219-L228

ximex avatar May 23 '15 14:05 ximex

some improvements where made in v3.1

ximex avatar Jan 05 '16 22:01 ximex