O'Reilly logo

Joomla!™ Programming by Louis Landry, Mark Dexter

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Appendix B. Joomla! Filter Types

Filtering data is an important aspect of creating a secure website. Data coming from untrusted sources, such as the URL or a form, should always be filtered using the most restrictive filter possible for the situation.

The JFilterInput class (libraries/joomla/filter/filterinput.php) is used to provide the built-in filtering functionality in Joomla!. Table B.1 shows the filtering types that are available.

Table B.1. Joomla Filter Types

Image

HTML Filtering

The HTML and STRING filter types both include HTML filtering. Two different types of filtering are available: white list and black list.

White list filtering allows ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required