[PATCH] fix validation bug in header urls & should be &

William Bell william.bell at frog.za.net
Tue Sep 18 06:06:06 CEST 2012


Hi I see this did not go through, sending it again.


-------- Original Message --------
Subject: 	[PATCH] fix validation bug in header urls & should be &
Date: 	Sun, 09 Sep 2012 20:38:20 +0200
From: 	William Bell <william.bell at frog.za.net>
To: 	cgit at hjemli.net



 From 985309a23c38c952828cff03970d93531d91296b Mon Sep 17 00:00:00 2001
From: William Bell <william.bell at frog.za.net>
Date: Fri, 7 Sep 2012 00:58:51 +0200
Subject: [PATCH] fix validation bug in header urls

& should be &
---
  ui-repolist.c |    2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ui-repolist.c b/ui-repolist.c
index d946f32..e0d693d 100644
--- a/ui-repolist.c
+++ b/ui-repolist.c
@@ -100,7 +100,7 @@ void print_sort_header(const char *title, const char
*sort)
  {
      htmlf("<th class='left'><a href='%s?s=%s", cgit_rooturl(), sort);
      if (ctx.qry.search) {
-        html("&q=");
+        html("&q=");
          html_url_arg(ctx.qry.search);
      }
      htmlf("'>%s</a></th>", title);
-- 
1.7.9.5








More information about the CGit mailing list