# Вставленные URL-адреса некорректно обрабатывают символы «+», когда они используются (правильно) в качестве пробелов

**URL:** https://meta.discourse.org/t/pasted-urls-process-characters-improperly-when-they-are-used-properly-as-spaces/391836
**Category:** Bug
**Tags:** composer
**Created:** [21.Декабрь.2025 04:11:49 UTC](https://meta.discourse.org/t/pasted-urls-process-characters-improperly-when-they-are-used-properly-as-spaces/391836 "2025-12-21T04:11:49Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [22.Декабрь.2025 00:52:08 UTC](https://meta.discourse.org/t/pasted-urls-process-characters-improperly-when-they-are-used-properly-as-spaces/391836/3 "2025-12-22T00:52:08Z")

</div>

Да, это довольно запутанный случай. Похоже, проблема только в onebox и баге на фронтенде:

[https://frinklang.org/fsp/solve2.fsp?equations=a+%2B+b&solveFor=&f=&ev=on](https://frinklang.org/fsp/solve2.fsp?equations=a+%2B+b&solveFor=&f=&ev=on)

по сравнению с:

> **[Frink System Solver](https://frinklang.org/fsp/solve2.fsp?equations=a+%2B+b&solveFor=&f=&ev=on)**

```plaintext
<https://frinklang.org/fsp/solve2.fsp?equations=a+%2B+b&solveFor=&f=&ev=on>

по сравнению с:

https://frinklang.org/fsp/solve2.fsp?equations=a+%2B+b&solveFor=&f=&ev=on

```

У меня есть исправление, но, как вы можете увидеть в разделе «Связанные темы», это ОЧЕНЬ СЛОЖНО ™, за эти годы в этой области накопилось столько багов.

> <https://github.com/discourse/discourse/pull/36822>
>
> Two bugs: 
> 
> 1. The UI for Add link was over ambitious and over encoding / unde…r encoding URLs. The main fix is using URL here which we use elsewhere in Discourse to do the encoding. 
> 
> 2. The Onebox system was encoding \`+\` which is a valid query param sub component.

---

_[View the full topic](https://meta.discourse.org/t/pasted-urls-process-characters-improperly-when-they-are-used-properly-as-spaces/391836)._
