# Bare hyperlinks with comma in querystring

**URL:** https://meta.discourse.org/t/bare-hyperlinks-with-comma-in-querystring/147683
**Category:** Support
**Created:** [April 12, 2020, 7:18am UTC](https://meta.discourse.org/t/bare-hyperlinks-with-comma-in-querystring/147683 "2020-04-12T07:18:42Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![GuidoD](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/guidod/32/292621_2.png) [@GuidoD](https://meta.discourse.org/u/GuidoD)
#### Post date: [April 12, 2020, 7:18am UTC](https://meta.discourse.org/t/bare-hyperlinks-with-comma-in-querystring/147683/1 "2020-04-12T07:18:42Z")

</div>

we are currently on 2.5.0.beta2 ([29ccdf5d35](https://github.com/discourse/discourse/commits/29ccdf5d3527d61b655c28c8790c94a1bdd6dcba))

A link which does include a comma inside the link is shown as a broken link and does of course not link to the correct webpage anymore.

[https://wiki.bewegung.jetzt//index.php?title=Geschlechtergerechtigkeit,\_Vielfalt\_%26\_Integration](https://wiki.bewegung.jetzt//index.php?title=Geschlechtergerechtigkeit,_Vielfalt_%26_Integration)

In that case the only solution is to put the link into a hyperlink shortcut.

[link](https://wiki.bewegung.jetzt//index.php?title=Geschlechtergerechtigkeit,_Vielfalt_%26_Integration)

---

<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: [April 13, 2020, 3:59am UTC](https://meta.discourse.org/t/bare-hyperlinks-with-comma-in-querystring/147683/2 "2020-04-13T03:59:23Z")

</div>

Try adding `<` and `>` around the link

[https://wiki.bewegung.jetzt/index.php?title=Geschlechtergerechtigkeit,\_Vielfalt\_%26\_Integration](https://wiki.bewegung.jetzt/index.php?title=Geschlechtergerechtigkeit,_Vielfalt_%26_Integration)

Alternatively, URL encode the comma.

---

<div class="post-metadata">

### Author: ![GuidoD](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/guidod/32/292621_2.png) [@GuidoD](https://meta.discourse.org/u/GuidoD)
#### Post date: [April 13, 2020, 1:04pm UTC](https://meta.discourse.org/t/bare-hyperlinks-with-comma-in-querystring/147683/3 "2020-04-13T13:04:59Z")

</div>

well I normally work with the hyperlink shortcuts but our forum users just only dump the addresses they do have in their web browsers into their texts.

Modern software and browsers do often no longer URL encode a comma (the & is still URL encoded and the blanks replaced by underscores) since the browsers can work with the comma and the users would not know how to URL encode something manually.  
So working with \< \> or to URL encode the comma is not really a solution there.  
But since there are probably very rare cases with such a comma inside an URL I think there is no urgent need to fix this inside Discourse at the moment. I just wanted to bring it up to your attention that this kind of problem can occur in Discourse.  
And thanks for your good work, Discourse is a great software.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [May 12, 2024, 12:04am UTC](https://meta.discourse.org/t/bare-hyperlinks-with-comma-in-querystring/147683/4 "2024-05-12T00:04:05Z")

</div>


