vk-apps-launch-params icon indicating copy to clipboard operation
vk-apps-launch-params copied to clipboard

Add Golang example

Open SevereCloud opened this issue 6 years ago • 1 comments

valid_test.go полностью покрывающий isValid

SevereCloud avatar Jul 13 '19 21:07 SevereCloud

The function is not working correctly. You forgot to encode the URL before feeding it to HMAC. I suggest you change the _, _ = mac.Write([]byte(strings.Join(vkParams, "&"))) line to _, _ = mac.Write([]byte(url.PathEscape(strings.Join(vkParams, "&")))).

dvmazur avatar Apr 11 '20 19:04 dvmazur