Project

General

Profile

« Previous | Next » 

Revision 6cf3e688

Added by Marcos M about 2 months ago

Double-escape HTML characters for use in HTML attribute. Fix #15415

View differences:

src/etc/inc/syslog.inc
1478 1478
	};
1479 1479

  
1480 1480
	return '<a data-toggle="popover" data-trigger="hover focus" title="' . gettext('Rule details') . '" data-content="' .
1481
		"Action: {$action}<br />Reason: {$reason}<br />Tracker ID: {$tracker}<br />{$rules_text}" .
1481
		htmlspecialchars("Action: {$action}<br />Reason: {$reason}<br />Tracker ID: {$tracker}<br />{$rules_text}") .
1482 1482
		'" data-html="true"><i style="margin-left:' . $margin . '" class="' . $icon_class . ' icon-pointer"></i></a>';
1483 1483
}
1484 1484

  

Also available in: Unified diff