Skip to content

Double encoding  #1922

Closed
Closed
@berendhard

Description

@berendhard

So, I'm using ReactiveElasticsearchClient with GetRequest.
I'm creating GetRequest with index and id.

Id looks like this:
cbfa144f-1def-eb11-8354-005056901fa2/VS_Regular10/2021-07
but client is encoding to
cbfa144f-1def-eb11-8354-005056901fa2%252FVS_Regular10%252F2021-07

So, I'm getting double encoded, where / is changed to %252F instead of %2F and because of that I'm not able to get that doc from elastic, bc elastic is returning 404 not found.

I tried to encode / by my self, replacing that before creating GetRequest - but client still was changing it to %252F

I'm using SpringDataElasticsearch 4.0.3.RELEASE

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions