XSS: discarding invalid attribute: data-dismiss: alert

Added by Plug Gulp about 1 month ago

Dear Wt Team,

I am getting following message in the log:

XSS: discarding invalid attribute: data-dismiss: alert

The data attribute is from dismissable alert component of Bootstrap 3.4.x: https://getbootstrap.com/docs/3.4/components/#alerts

Because Wt discards the data-dismiss attribute the close functionality of Bootstrap alert does not work. How do I prevent Wt from discarding these types of intentional data attributes?

Thanks and kind regards,

~Plug