Помощь - Поиск - Пользователи - Календарь
Полная версия: the word "FROM" disappears in submitted comments
Форум Игры разума [braingames] > Приемная администратора > Ошибки на сайте и предложения по улучшению
ShyPooper
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
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
Just a guess: maybe BrainGames has a protection against SQL injection which bans some keywords in messages?..
UNDEFEAT
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
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
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
Это упрощенная версия форума. Для просмотра полной версии нажмите нажмите сюда.
Invision Power Board © 2001-2020 Invision Power Services, Inc.