# Link with %20 gets interpreted as %2520

**URL:** <https://meta.discourse.org/t/link-with-20-gets-interpreted-as-2520/141138>\
**Category:** Bug\
**Created:** [10 februari 2020 om 03:01 UTC](https://meta.discourse.org/t/link-with-20-gets-interpreted-as-2520/141138 "2020-02-10T03:01:03Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Cardinalflyer](https://avatars.discourse-cdn.com/v4/letter/c/f14d63/32.png) [@Cardinalflyer](https://meta.discourse.org/u/Cardinalflyer)\
**Post date:** [10 februari 2020 om 03:01 UTC](https://meta.discourse.org/t/link-with-20-gets-interpreted-as-2520/141138/1 "2020-02-10T03:01:04Z")

</div>

I swear I’ve seen this discussed here before, but can’t find it, and my instance is doing this (Still? Again?)

When a link which includes an encoded %20 is pasted directly into the text stream, when clicked an extra %25 is added to the front of each %20, making the link invalid.

Of course %25 is the % encode. It seems very [similar to this issue.](https://meta.discourse.org/t/onebox-links-with-ampersands-dont-encode-correctly/69528)

The link which I’m looking at right now is this beauty:

### [SB480F%20Oil%20ServicingMetallic%20Solids%20Identification%20After%20Oil%20Servicing%20and%20Associated%20Corrective%20Action.pdf](https://www.lycoming.com/sites/default/files/SB480F%2520Oil%2520ServicingMetallic%2520Solids%2520Identification%2520After%2520Oil%2520Servicing%2520and%2520Associated%2520Corrective%2520Action.pdf)

Roll over the link and you’ll see that Meta is doing it. And, of course, that keeps it from working.

It does work if [entered as a link](https://www.lycoming.com/sites/default/files/SB480F%20Oil%20ServicingMetallic%20Solids%20Identification%20After%20Oil%20Servicing%20and%20Associated%20Corrective%20Action.pdf) rather than just the URL, but people don’t always do that and are tricky to train…

Of course it would be great if people didn’t put spaces in URL documents, but here we are.

I am on Discourse 2.3.9

---

_[View the full topic](https://meta.discourse.org/t/link-with-20-gets-interpreted-as-2520/141138)._
