# Urldecode filter doesn't replace plus sign

**URL:** <https://discuss.elastic.co/t/urldecode-filter-doesnt-replace-plus-sign/217671>\
**Category:** Logstash\
**Created:** [February 3, 2020, 6:19pm UTC](https://discuss.elastic.co/t/urldecode-filter-doesnt-replace-plus-sign/217671 "2020-02-03T18:19:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Micah\_Hunsberger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/micah_hunsberger/32/147436_2.png) [@Micah\_Hunsberger](https://discuss.elastic.co/u/Micah_Hunsberger)\
**Post date:** [February 3, 2020, 6:19pm UTC](https://discuss.elastic.co/t/urldecode-filter-doesnt-replace-plus-sign/217671/1 "2020-02-03T18:19:51Z")

</div>

The urldecode ingest processor will convert `decode+me` =\> `decode me`, but the logstash filter plugin only handles %-encoded values, so `+` are not replaced with spaces.  
The workaround is to add a gsub filter above the urldecode filter, but is there any reason to not add this to the one plugin?

---

<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:** [March 2, 2020, 6:25pm UTC](https://discuss.elastic.co/t/urldecode-filter-doesnt-replace-plus-sign/217671/2 "2020-03-02T18:25:20Z")

</div>

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