ZZJHONS / ZravianX

ZravianX - Clone Travian browser game step a step (Isn't finished)
http://zravianx.zzjhons.com/
28 stars 21 forks source link

apostrophes bug to the function System message (output backslash) #3

Open etms51 opened 12 years ago

etms51 commented 12 years ago

Description: When i set the my account on Admin level, and i want sent a System message for the all player of the my community, If i write this following text: "salve a tutti, l'aiuto è molto bello, però la vita è splendinta, help's information" (screenshot 1)

When i press the "Send" button, the text message output is a mistake. (Screenshot 2) The bug in this case is an apostrophes bug when you write a System message to the Admin Panel.

Versione game: 28/11/2011 Website: http://deepspace.site40.net

Screenshot: Image 1 => http://dl.dropbox.com/u/34043118/Travian_4/backslash_Apostrophes_bug_System_Message.jpg Image 2 => http://dl.dropbox.com/u/34043118/Travian_4/backslash_Apostrophes_bug_System_Message2_Output.jpg

please fix it.

ghost commented 12 years ago

It's a PHP configuration error, you should disable Magic Quotes. http://php.net/manual/en/security.magicquotes.what.php