The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
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?
|
|
#2
|
|||
|
|||
|
Check the do_clean function in includes/class_core.php.
If you defined the type as TYPE_NOHTML, it will do: PHP Code:
|
|
#3
|
|||
|
|||
|
Thanks, I'll try it.
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|