• Forum
  • Doc
  • Screenshots
  • Download
  • Donate
  • Contributors
  • Contact
  • Follow @phpfreechat
  • DEMO
  • Board index ‹ Version 1.x branch ‹ General Support (v1.x)
  • Change font size
  • FAQ
  • Register
  • Login

Backslash and special character problem

Moderators: OldWolf, re*s.t.a.r.s.*2

Post a reply
1 post • Page 1 of 1

Postby vmk » Sun Feb 05, 2012 12:03 pm

There seems to be an issue with backslashes and single quotes. The cry smiley doesn't work even in the demo chat.

In the theme.txt file of MSN theme the cry smiley is defined as this:
:'(

However, in the chat the tooltip of the smiley icon says that is is actually this:
:'(
It looks like it is trying to escape the single quote. However, when you click the icon, this text appears:
:'(
No smiley icon. I made a quick hack and added :'( to theme.txt, and now the button works, but the tooltip now says :\'( , which looks quite silly.

I don't think it should be necessary for the user to escape special characters to use them. Actually it sounds like a potential security risk.
vmk
New member
 
Posts: 5
Joined: Tue Jul 06, 2010 3:24 pm
Top

Post a reply
1 post • Page 1 of 1

Return to General Support (v1.x)

Who is online

Users browsing this forum: No registered users and 16 guests

  • Board index
  • The team • Delete all board cookies • All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
Sign in
Wrong credentials
Sign up I forgot my password
.
jeu-gratuit.net | more partners
Fork me on GitHub