Alias popup not displaying contents
On firewall rules when hovering over an alias, the info popup only displays the header "Alias details" and no contents. Inspecting the element in the browser shows the contents are in the HTML, but are not being rendered.
This is on a current snapshot. I have another VM on a snapshot from the 17th and it is OK, so something in the last two weeks (Bootstrap changes?)
#3 Updated by Steve Beaver 6 months ago
Specifically adding table elements to the sanitizer's list of allowed content is effective:
// Bootstrap 3.4.1+ sanitizes the contents of popovers even when data-html is specified // Add table tags to the list of elements permitted by the sanitizer var defaultWhiteList = $.fn.tooltip.Constructor.DEFAULTS.whiteList defaultWhiteList.table =  defaultWhiteList.thead =  defaultWhiteList.tr =  defaultWhiteList.th = ["style"] defaultWhiteList.tbody =  defaultWhiteList.td = ["style"]
#6 Updated by Danilo Zrenjanin 6 months ago
- File Screenshot 2020-10-02 at 16.02.22.png Screenshot 2020-10-02 at 16.02.22.png added
- File Screenshot 2020-10-02 at 16.04.25.png Screenshot 2020-10-02 at 16.04.25.png added
- Status changed from Feedback to Resolved
Tested the patch on the:
2.5.0-DEVELOPMENT (amd64) built on Fri Oct 02 06:54:02 EDT 2020 FreeBSD 12.2-STABLE
It looks fine now. Ticket resloved.