From 5544931a70197958ccf6200d324a14261d12e7e3 Mon Sep 17 00:00:00 2001 From: Patrick Peng Sun Date: Tue, 11 Jul 2017 16:17:56 +1000 Subject: [PATCH] url being & is encoded to \\u0026 cause signature check failed. --- kfsend.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kfsend.go b/kfsend.go index 661c322..28ed8c1 100644 --- a/kfsend.go +++ b/kfsend.go @@ -202,7 +202,7 @@ func kfSendNews(toUser, title, description string, articles []sendNewsArticle) { s.News.Articles = a //marshal - j, _ := json.Marshal(s) + j, _ := myJSONMarshal(s) log.Println(string(j)) //send u := getKfSendURL()