Merge branch 'ab/gitweb-link-html-escape' into maint
The characters in the label shown for tags/refs for commits in "gitweb" output are now properly escaped for proper HTML output. * ab/gitweb-link-html-escape: gitweb: escape link body in format_ref_marker
This commit is contained in:
commit
1dc4aa67d6
@ -2090,7 +2090,7 @@ sub format_ref_marker {
|
||||
-href => href(
|
||||
action=>$dest_action,
|
||||
hash=>$dest
|
||||
)}, $name);
|
||||
)}, esc_html($name));
|
||||
|
||||
$markers .= " <span class=\"".esc_attr($class)."\" title=\"".esc_attr($ref)."\">" .
|
||||
$link . "</span>";
|
||||
|
Loading…
Reference in New Issue
Block a user