ZravianX icon indicating copy to clipboard operation
ZravianX copied to clipboard

apostrophes bug to the function System message (output backslash)

Open etms51 opened this issue 13 years ago • 1 comments

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.

etms51 avatar Jan 10 '12 14:01 etms51

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

ghost avatar May 20 '12 18:05 ghost