Bare hyperlinks with comma in querystring

AI-generated summary

A discussion has been raised about bare hyperlinks containing commas in their query strings not working properly in Discourse. GuidoD provided an example of a broken link (https://wiki.bewegung.jetzt//index.php?title=Geschlechtergerechtigkeit,Vielfalt%26_Integration) and mentioned that using a hyperlink shortcut is a workaround. codinghorror suggested adding < and > around the link or URL encoding the comma as possible solutions. However, GuidoD explained that these solutions may not be practical for most users, as they may not know how to URL encode commas manually. He concluded that while it’s a rare issue, it’s worth bringing to attention, but not urgent to fix.

we are currently on 2.5.0.beta2 (29ccdf5d35)

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

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

link

Try adding < and > around the link

https://wiki.bewegung.jetzt/index.php?title=Geschlechtergerechtigkeit,_Vielfalt_%26_Integration

Alternatively, URL encode the comma.

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.