Is anyone aware of any problems with using commas in SEO friendly URL's? I'm working with some software that uses a lot of commas in it's SEO friendly URL's; but I am 100% certain I have seen some instances where some programs/platforms don't recognize the URL correctly & cut the "linking" of the URL off after the first comma.
I just tested this out with thunderbird, gmail, hotmail & on a SMF forum with no problems; however I know I have seen the issue before.
So my question is, is there anything in particular that would cause some platforms to stop linking URL's with a comma? Such as a certain character after the comma?
There will be countless implementations that will cut the automatical linking at that point. As with many other characters, too. But that’s not a problem because of using these characters, but because of a wrong/incomplete implementation.
See for example this very site, Stack Overflow. It will cut off the link at the
*
when manually entering/pasting this URL (see bug; in case it gets fixed, here’s a screenshot of it):But when using the hyperlink syntax, it works fine:
The
*
character is allowed in an HTTP URL path, so the link detection should have recognized the first URL instead of breaking it at the occurence of*
.Regarding the comma:
The comma is a reserved character and its meaning is relevant for the URL path (bold emphasis mine):
So, if you don’t intend to use the comma for the function it has as reserved character, you may want to percent-encode it with
%2C
. Users copying such an URL from their browser’s address bar would paste it in the encoded form, so it should work almost everywhere.However, especially because it’s a reserved character, the unencoded form should work, too.