![]() |
Secure output of custom bbcode
I created a plugin using hook location bbcode_create, bbcode_fetch_tags and a .php file to handle a custom bbcode. What should I do to secure the output? For example, do I need to call xss_clean() or filter htmlspecialchars?
|
Check the do_clean function in includes/class_core.php.
If you defined the type as TYPE_NOHTML, it will do: PHP Code:
|
Thanks, I'll try it.
|
All times are GMT. The time now is 04:58 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|