Версия для печати темы

Нажмите сюда для просмотра этой темы в оригинальном формате

Форум Игры разума [braingames] _ Ошибки на сайте и предложения по улучшению _ the word "FROM" disappears in submitted comments

Автор: ShyPooper 22.7.2020, 20:26

After a comment is submitted, all the words "from" just disappear from the content.

It is different from preview, that is, in the preview box, you can still see "from" as expected.

However, if you use "*from*" instead of "from", it can be shown in the final comments. The essential difference -- the latter connects to two blank characters.

Автор: alan 23.7.2020, 1:51

Translation to Russian for developers

Переведу для разработчиков

QUOTE
After a comment is submitted, all the words "from" just disappear from the content.

It is different from preview, that is, in the preview box, you can still see "from" as expected.

However, if you use "*from*" instead of "from", it can be shown in the final comments. The essential difference -- the latter connects to two blank characters.



После того как комментарий отправлен, все слова "from" исчезают из содержимого комментария.
Между тем в форме превьюшки эти слова видны, как и ожидается.
Если использовать "*from*" вместо "from" то все ок.

Автор: Owen 23.7.2020, 13:09

Just a guess: maybe BrainGames has a protection against SQL injection which bans some keywords in messages?..

Автор: UNDEFEAT 23.7.2020, 13:23

QUOTE(Owen @ 23.7.2020, 13:09) *
Just a guess: maybe BrainGames has a protection against SQL injection which bans some keywords in messages?..


Это уж совсем какая-то костыльная защита smile.gif

Автор: ShyPooper 24.7.2020, 7:27

QUOTE(Owen @ 23.7.2020, 13:09) *
Just a guess: maybe BrainGames has a protection against SQL injection which bans some keywords in messages?..


Sounds interesting. The easiest modification is banning the same keywords in preview smile.gif

Автор: ShyPooper 5.8.2020, 20:56

QUOTE(Owen @ 23.7.2020, 13:09) *
Just a guess: maybe BrainGames has a protection against SQL injection which bans some keywords in messages?..


Nice insight, just found "insert" also has the same issue