# URLs containing multiple underscores parsed incorrectly in posts?

**URL:** https://meta.discourse.org/t/urls-containing-multiple-underscores-parsed-incorrectly-in-posts/166851
**Category:** Bug
**Created:** [October 10, 2020, 12:53pm UTC](https://meta.discourse.org/t/urls-containing-multiple-underscores-parsed-incorrectly-in-posts/166851 "2020-10-10T12:53:45Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![mentalstring](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mentalstring/32/168934_2.png) [@mentalstring](https://meta.discourse.org/u/mentalstring)
#### Post date: [October 10, 2020, 12:53pm UTC](https://meta.discourse.org/t/urls-containing-multiple-underscores-parsed-incorrectly-in-posts/166851/1 "2020-10-10T12:53:45Z")

</div>

These URLs:

`https://en.wikipedia.org/wiki/I,_Robot_(film)`  
`https://en.wikipedia.org/wiki/Good_Bye,_Lenin!`

don’t seem to play well with the existing auto-linking

> **[I, Robot (film)](https://en.wikipedia.org/wiki/I,_Robot_(film))**
>
> I, Robot (sometimes stylized as i,Robot) is a 2004 American science fiction action film directed by Alex Proyas, from a screenplay by Jeff Vintar and Akiva Goldsman. It stars Will Smith, Bridget Moynahan, Bruce Greenwood, James Cromwell, and Alan Tudyk. The film is named after Isaac Asimov's 1950 short-story collection and incorporates Asimov's Three Laws of Robotics and several characters, though it is not a direct adaptation.
> The film is set in Chicago in 2035. Highly intelligent robots fi...

[Good Bye, Lenin! - Wikipedia](https://en.wikipedia.org/wiki/Good_Bye,_Lenin)!

Not sure if this is a known issue?

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [October 15, 2020, 5:54am UTC](https://meta.discourse.org/t/urls-containing-multiple-underscores-parsed-incorrectly-in-posts/166851/4 "2020-10-15T05:54:52Z")

</div>

Yes it is known that paired underscores and other unusual (spec may even say illegal) chars will interfere. Simple fix: put the URL in brackets

[https://en.wikipedia.org/wiki/I,\_Robot\_(film)](https://en.wikipedia.org/wiki/I,_Robot_(film))

`<https://en.wikipedia.org/wiki/I,_Robot_(film)>`

---

<div class="post-metadata">

### Author: ![eviltrout](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eviltrout/32/5275_2.png) [@eviltrout](https://meta.discourse.org/u/eviltrout)
#### Post date: [December 3, 2020, 7:52pm UTC](https://meta.discourse.org/t/urls-containing-multiple-underscores-parsed-incorrectly-in-posts/166851/5 "2020-12-03T19:52:15Z")

</div>


