# When slug generation method is encoded, It redirected many times when we open new tab opens in topic

**URL:** https://meta.discourse.org/t/when-slug-generation-method-is-encoded-it-redirected-many-times-when-we-open-new-tab-opens-in-topic/67247
**Category:** Bug
**Created:** [Agosto 1, 2017, 1:51pm UTC](https://meta.discourse.org/t/when-slug-generation-method-is-encoded-it-redirected-many-times-when-we-open-new-tab-opens-in-topic/67247 "2017-08-01T13:51:49Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![Pad\_Pors](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pad_pors/32/52016_2.png) [@Pad\_Pors](https://meta.discourse.org/u/Pad_Pors)
#### Post date: [Agosto 1, 2017, 4:18pm UTC](https://meta.discourse.org/t/when-slug-generation-method-is-encoded-it-redirected-many-times-when-we-open-new-tab-opens-in-topic/67247/4 "2017-08-01T16:18:46Z")

</div>

seems related (same error in the admin panel):

> [@Tags does not work with Cyrillic](https://meta.discourse.org/t/tags-does-not-work-with-cyrillic/67217/2):
>
> Ooooooh, this is going to get messy. In theory, URLs can only contain 7-bit ASCII characters. In practice, everyone’s pretty much decided that percent-encoded UTF-8 is ok_hand, which is why, if you look in the “env” for the log message, you’ll see something like REQUEST\_URI /tags/%D0%B7%D0%B5%D0%BC%D0%BB%D1%8F/notifications (Which is the UTF-8 encoding for “земля”) So, the problem is occuring because the contents of params is being encoded as ASCII-8BIT, and while most everything manages …

---

_[View the full topic](https://meta.discourse.org/t/when-slug-generation-method-is-encoded-it-redirected-many-times-when-we-open-new-tab-opens-in-topic/67247)._
