Skip to content

Sanitizers Included

Jared Smith edited this page Apr 25, 2016 · 2 revisions

PHP-CSAS includes sanitization functions for the following contexts, though more can be added (see this page on adding sanitizers):

  • HTML PCDATA
  • HTML QUOTED
  • HTML UNQUOTED
  • JS STRING
  • URL START
  • URL GENERAL
  • URL QUERY

See sanitizers/sanitizers.c for the implementations of these functions.

Clone this wiki locally