UTF-8 EMOJIS in TOPIC TITLE
2 posters
Page 1 of 1
UTF-8 EMOJIS in TOPIC TITLE
Hello,
Is there a reason why some emojis work in topic title and some don't?
This one works for example:
Most of them don't, this one for example:
Is there a reason why some emojis work in topic title and some don't?
This one works for example:
- Code:
⌛&; #x231B;
Most of them don't, this one for example:
|
tikky and topaffz like this post
Re: UTF-8 EMOJIS in TOPIC TITLE
I really Don't know to be honest never even thought about it or even gave it a try.
It could be to do with the way it was set up on our servers sorry I can't help you
It could be to do with the way it was set up on our servers sorry I can't help you
Re: UTF-8 EMOJIS in TOPIC TITLE
The problem is that forumotion converts & into its unicode representation, which is &. This is what break the emojis.
They do this for security, for example if someone writes the title <script>/*random malicious javacript code*/</script>, that javascript code won't be executed by the browser, since < and > will be converted into their unicode representation, and the title will become <script>/*random malicious javacript code*/</script>.
That being said, as far as I know, there's no security issue with displaying & unencoded. I can write a javascript code to allow your emojis to display, if you let me know your forum link!
They do this for security, for example if someone writes the title <script>/*random malicious javacript code*/</script>, that javascript code won't be executed by the browser, since < and > will be converted into their unicode representation, and the title will become <script>/*random malicious javacript code*/</script>.
That being said, as far as I know, there's no security issue with displaying & unencoded. I can write a javascript code to allow your emojis to display, if you let me know your forum link!
Guest- Guest
Similar topics
» Get Topic Title
» Is it possible to put BBCode in Topic title?
» Topic title on top of post
» Can I edit the title of a topic?
» Topic with No Title so can't access it
» Is it possible to put BBCode in Topic title?
» Topic title on top of post
» Can I edit the title of a topic?
» Topic with No Title so can't access it
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum