From db06a6cc83c0cb0294aa9dbff46a08752a7428eb Mon Sep 17 00:00:00 2001 From: rkusa Date: Wed, 29 Oct 2014 12:20:32 +0100 Subject: [PATCH] fix badge branch selection --- server/handler/badge.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/handler/badge.go b/server/handler/badge.go index c228902c..98a502de 100644 --- a/server/handler/badge.go +++ b/server/handler/badge.go @@ -33,7 +33,7 @@ func GetBadge(c web.C, w http.ResponseWriter, r *http.Request) { host = c.URLParams["host"] owner = c.URLParams["owner"] name = c.URLParams["name"] - branch = c.URLParams["branch"] + branch = r.FormValue("branch") ) // an SVG response is always served, even when error, so