drone-webhook
drone-webhook copied to clipboard
use “=” in the headers value
Using base64 encoded data in the header, webhook does not work. Because the following code:
for _, value := range p.Config.Headers {
header := strings.Split(value, "=")
req.Header.Set(header[0], header[1])
}
Maybe it could be changed to strings.SplitN(value, "=", 2)
I have to use the Cookies header, and the = cannot be parsed too.
For example:
Cookie: key1=value1; key2=value2
I tried to make it run, but i cannot find any solution.
you can try zzl221000/webhook image @DongyunLee
you can try
zzl221000/webhookimage @DongyunLee
好嘞,多谢
you can try
zzl221000/webhookimage @DongyunLee
If settings are same as drone-webhook?
If settings are same as drone-webhook?
It's a fork. I just fixed "=" bug. This repository seems to be out of maintenance
If settings are same as drone-webhook?
It's a fork. I just fixed "=" bug. This repository seems to be out of maintenance
多谢,现在能正常发出请求了
@DongyunLee drone k8s 中构建镜像用 drone-kaniko比较方便