XF 2.2 Smart quotes in thread titles cause issues

BIG LLC

Active member
I've just encountered an issue with a thread URL for a thread with a smart quote in the title:

https://www.bigfooty.com/forum/threads/so-it-appears-barry-hall-only-hits-blokes-when-they-aren’t-looking.1304304/

The ’ breaks the URL when posted to Facebook.

With a normal single quote in the thread title, the URL works fine. The punctuation mark is cleaned out:

 
Punctuation is removed from the URL in XF: https://www.bigfooty.com/forum/threads/so-it-appears-barry-hall-only-hits-blokes-when-they-arent-looking.1304304/
 
Yes, but not the smart quote on my site.

https://www.bigfooty.com/forum/threads/so-it-appears-barry-hall-only-hits-blokes-when-they-aren’t-looking.1304304/

I have since edited the thread title to a normal (?) apostrophe and the URL becomes


Smart quote ’
vs
Not-smart quote '
 
Back
Top Bottom