Skip to content

use “=” in the headers value #64

@zzl221000

Description

@zzl221000

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions