Skip to content

Conversation

@skuayer
Copy link
Contributor

@skuayer skuayer commented Sep 9, 2025

When using http4s client I found that id is stored incorrectly in ElasticSearch in case then it contains special characters. The trouble was in final resulting URL.

ElasticUrlEncoder in IndexHandler encoded path and convertor org.http4s.Segment.apply in RequestResponseConverters. elasticRequestToHttp4sRequest also encoded path before sending request.

@Philippus
Copy link
Owner

@igor-vovk Do you have some time to take a look? I think you use http4s.

@igor-vovk
Copy link
Contributor

Unfortunately I can't test it since I'm not using it anymore in my own projects, but the PR is LGTM 👍

@Philippus Philippus merged commit 2c2ddb7 into Philippus:series/9.x Sep 11, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants