Benjamin-Loison / TravianZ

Travian T3.6 , BEST VERSION EVER | Server restarted ! Speed 50x , Troops 50x.
http://vacantaturism.ro/shadowss.ro/travian/
GNU General Public License v3.0
0 stars 0 forks source link

`WORD_CENSOR` isn't defined leading to writing message not working #24

Open Benjamin-Loison opened 1 year ago

Benjamin-Loison commented 1 year ago

This issue is probably related to the PHP version used.

https://github.com/Benjamin-Loison/TravianZ/blob/7f8920fef6dd640156aec9cbe4ccfab4ef0b4b77/GameEngine/Message.php#L410-L413

https://github.com/Benjamin-Loison/TravianZ/blob/7f8920fef6dd640156aec9cbe4ccfab4ef0b4b77/GameEngine/Message.php#L499-L502

The associated MySQL table is mdata.

Why the comments in the source code mentions vulnerability? Especially not meaningful as no value for censoring is provided...