# Onebox kodiert einfache Anführungszeichen in der URL und unterbricht den Link

**URL:** <https://meta.discourse.org/t/onebox-encodes-single-quotes-in-url-breaking-the-link/115947>\
**Category:** Bug\
**Created:** [25. April 2019 um 11:04 UTC](https://meta.discourse.org/t/onebox-encodes-single-quotes-in-url-breaking-the-link/115947 "2019-04-25T11:04:43Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)\
**Post date:** [6. Mai 2019 um 13:21 UTC](https://meta.discourse.org/t/onebox-encodes-single-quotes-in-url-breaking-the-link/115947/8 "2019-05-06T13:21:59Z")

</div>

> [@sam](#):
>
> We should follow the spec here with our encoding.

> [@sam](#):
>
> I guess we need one rule for encoding the query params and another for encoding the path.

Done in:

[https://github.com/discourse/onebox/commit/7a1885c48800693d9d4abfa9c58d6d25fd19ca65](https://github.com/discourse/onebox/commit/7a1885c48800693d9d4abfa9c58d6d25fd19ca65)

* * *

[https://doomwiki.org/wiki/Musical\_inspirations\_behind\_Doom’s\_music](https://doomwiki.org/wiki/Musical_inspirations_behind_Doom's_music)

---

_[View the full topic](https://meta.discourse.org/t/onebox-encodes-single-quotes-in-url-breaking-the-link/115947)._
