# Elastic driver

**URL:** <https://discuss.elastic.co/t/elastic-driver/295425>\
**Category:** Elasticsearch\
**Created:** [January 26, 2022, 7:13am UTC](https://discuss.elastic.co/t/elastic-driver/295425 "2022-01-26T07:13:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bertvervaele](https://avatars.discourse-cdn.com/v4/letter/b/8e7dd6/32.png) [@bertvervaele](https://discuss.elastic.co/u/bertvervaele)\
**Post date:** [January 26, 2022, 7:13am UTC](https://discuss.elastic.co/t/elastic-driver/295425/1 "2022-01-26T07:13:26Z")

</div>

Hi everyone,

I encountered a wierd issue with the http encoding of the Elastic driver.  
In some of my projects it translates the '/' to '%2f' as it should and in others it doesn't.

Any ideas are welcome 🙂

```auto
string id = "503/20";
var response = connection.Get<object>(new GetRequest(indexname, "object", id));

```

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [February 23, 2022, 7:13am UTC](https://discuss.elastic.co/t/elastic-driver/295425/2 "2022-02-23T07:13:32Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
