Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Emoji in Topic Title Breaks Page Load on Replies
Avatar
jim
Here and Now
Member
Pro Subscribers
sp_UserOfflineSmall Offline
Nov 1, 2017 - 5:39 pm

OK, this is more of a report than a request for a fix, since personally I hate emojis and feel they have no place in forum topic titles. But I digress...

Our forum members started reporting an issue where the topic page would not load after posting a reply. After hitting submit, they instead got the error "That topic does not exist. One member shared this screenshot...

486C677F-644E-4425-83D2-8569F13C2113-e1509562200399.jpgImage Enlarger

I confirmed the issue: I replied to the topic, but on page reload, I got this same error. Then I reloaded the topic and my reply was there. Then...

I noticed the member who started the topic included an emoji in the topic title...

Screen-Shot-2017-11-01-at-2.32.54-PM.pngImage Enlarger

I also noticed the actual slug of the topic on the page with the error after attempting to reply...

...tripawds.com/forums/alumni/eurydice-the-angel-aa92c80f54bf1d517e68973b4ac828a8818c8d219c7ce95fe54d8082be8dfa18f0aa92c80f54bf1d517e68973b4ac828a8818c8d219c7ce95fe54d8082be8dfa189faa92c80f54bf1d517e68973b4ac828a8818c8d219c7ce95fe54d8082be8dfa188caa92c80f54bf1d517e68973b4ac828a8818c8d219c7ce95fe54d8082be8dfa189f-travels-in-europe-with-pedro-the-penguin-and-woody-the-woodpecker/page-6/#p200580

Something is apparently chewing up the emoji and spitting it back out in the topic URL when posting a reply.

My fix was to simply add a custom message above the new topic post editor that says "Please do NOT use emojis in topic title!"

I understand the issue may have something to do with the character set or collation of the sp database tables, which I don't necessarily care to mess with just for this. But I did find it interesting enough to report here.

Cheers!

TripawdsSimple:Press powers the Tripawds Discussion Forums.

It's better to hop on three legs than to limp on four.

The Tripawds Blogs Community is made possible by The Tripawds Foundation.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Nov 1, 2017 - 8:54 pm

will have to run some tests...  since we sanitize the title, a bit surprised... but then again, the way WP has forced those emojis down our throat....

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626