Jakub Narębski [off-list ref] writes:
Good catch!
Acked-by: Jakub Narębski <redacted>
Sigh; the contents may be good but the patch is unusable as-is
because of heavy whitespace damage.
I'll fix it up. Thanks, both.
quoted
---
gitweb/gitweb.perl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl
index 2fddf75..33d701d 100755
--- a/gitweb/gitweb.perl
+++ b/gitweb/gitweb.perl
@@ -2090,7 +2090,7 @@ sub format_ref_marker {
-href => href(
action=>$dest_action,
hash=>$dest
- )}, $name);
+ )}, esc_html($name));
$markers .= " <spanclass=\"".esc_attr($class)."\" title=\"".esc_attr($ref)."\">" .
$link . "</span>";
On Mon, Aug 1, 2016 at 9:54 PM, Junio C Hamano [off-list ref] wrote:
Jakub Narębski [off-list ref] writes:
quoted
Good catch!
Acked-by: Jakub Narębski <redacted>
Sigh; the contents may be good but the patch is unusable as-is
because of heavy whitespace damage.
I'll fix it up. Thanks, both.
My apologies for that, it seems that gmail doesn't do tabs.
I resubmitted the PR as #283 on GitHub along with Jakub's Ack and
fixed the typo he pointed out in the commit message
https://github.com/git/git/pull/283
Kind regards
andreas
quoted
quoted
---
gitweb/gitweb.perl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl
index 2fddf75..33d701d 100755
--- a/gitweb/gitweb.perl
+++ b/gitweb/gitweb.perl
@@ -2090,7 +2090,7 @@ sub format_ref_marker {
-href => href(
action=>$dest_action,
hash=>$dest
- )}, $name);
+ )}, esc_html($name));
$markers .= " <spanclass=\"".esc_attr($class)."\" title=\"".esc_attr($ref)."\">" .
$link . "</span>";