# Onebox breaks if there's chinese text in URL

**URL:** <https://meta.discourse.org/t/onebox-breaks-if-theres-chinese-text-in-url/67364>\
**Category:** Bug\
**Created:** [August 3, 2017, 7:48am UTC](https://meta.discourse.org/t/onebox-breaks-if-theres-chinese-text-in-url/67364 "2017-08-03T07:48:56Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)\
**Post date:** [August 22, 2017, 8:06am UTC](https://meta.discourse.org/t/onebox-breaks-if-theres-chinese-text-in-url/67364/11 "2017-08-22T08:06:27Z")

</div>

> [@mpalmer](#):
>
> There’s no bug reference on the commit. @tgxworld, do you recall the purpose of that commit?

Oops not sure how I missed the reply but I was fixing an error flooding our logs.

```plaintext
[1] pry(main)> URI("https://eviltrout.com?s=180&#038;d=mm&#038;r=g")
URI::InvalidURIError: bad URI(is not URI?): https://eviltrout.com?s=180&#038;d=mm&#038;r=g
from /home/tgxworld/.rbenv/versions/2.4.1/lib/ruby/2.4.0/uri/rfc3986_parser.rb:67:in `split'

```

---

_[View the full topic](https://meta.discourse.org/t/onebox-breaks-if-theres-chinese-text-in-url/67364)._
