Skip to content

[bug]the parm will lost '=' when it's value is empty string #2122

@24kpure

Description

@24kpure

https://github.com/OpenFeign/feign/blame/2cb72cf3fa6e760a9596aed099f7e83da950360b/core/src/main/java/feign/template/QueryTemplate.java#L86
Example detail just see #910.

My query params are {"key1":"","key2":"value2"}

//expect
http://url?ke1=&key2=value2
//actual
http://url?ke1&key2=value2

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