WoltLab / WCF

WoltLab Suite Core (previously WoltLab Community Framework)
https://www.woltlab.com
GNU Lesser General Public License v2.1
239 stars 144 forks source link

Enable the Sandbox for Templates Inside of BBCodes #5910

Closed dtdesign closed 1 week ago

dtdesign commented 1 month ago

IBBCode::getParsedTag() often assigns extra variables in a separate step before fetching the template. This must be replaced with a combined step that passes the variables directly to fetch() and set the $sandbox parameter to true, just like we’re also practicing this with box controllers.