Skip to content

Escaped header values #302

@alextrs

Description

@alextrs

After we upgraded to version 1.5.1 we started to see issue with escaped values in header. Looks like it started to happen from version 1.5.0 because of this commit 78296c8.

Specifically this line (fix was for query, but it also called for header):

func styleStruct(style string, explode bool, paramName string, value interface{}) (string, error) {
   ...
   return prefix + url.QueryEscape(strVal), nil
}

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