diff options
| author | Treeston <treeston.mmoc@gmail.com> | 2018-09-13 00:11:27 +0200 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2021-10-31 01:39:04 +0200 |
| commit | e506c80a64571530cf7edd947a5b7dc2f35f9d1d (patch) | |
| tree | e78a0d480537525c9db0b8ebb9d08f6ce8bdcc6e /src/server/worldserver | |
| parent | fa7e46a4f3f807b0682aba26c7993d142f842648 (diff) | |
Core/Chat: Unify chat hyperlink parsing (PR #22417)
- Validate most link properties all the time
- If enabled, also validate link text (needs locale)
- Instead of blocking the entire message, sanitize it
- Apply filtering to DND/AFK messages. Closes #22399
(cherry picked from commit f27284594b18000a1c098262728fb19fdc63fc6c)
Diffstat (limited to 'src/server/worldserver')
| -rw-r--r-- | src/server/worldserver/worldserver.conf.dist | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/src/server/worldserver/worldserver.conf.dist b/src/server/worldserver/worldserver.conf.dist index a2d603cb433..ca5cbd34d5e 100644 --- a/src/server/worldserver/worldserver.conf.dist +++ b/src/server/worldserver/worldserver.conf.dist @@ -1940,11 +1940,8 @@ ChatFakeMessagePreventing = 1 # # ChatStrictLinkChecking.Severity # Description: Check chat messages for ingame links to spells, items, quests, etc. -# Default: 0 - (Disabled) -# 1 - (Enabled, Check if only valid pipe commands are used, Prevents posting -# pictures.) -# 2 - (Enabled, Verify that pipe commands are used in a correct order) -# 3 - (Check if color, entry and name don't contradict each other. For this to +# Default: 0 - (Only verify that link format looks valid without checking the text) +# 1 - (Check if color, entry and name don't contradict each other. For this to # work correctly, please assure that you have extracted locale DBCs of # every language specific client playing on this server) @@ -1952,10 +1949,10 @@ ChatStrictLinkChecking.Severity = 0 # # ChatStrictLinkChecking.Kick -# Description: Defines what should be done if a message is considered to contain invalid -# pipe commands. -# Default: 0 - (Silently ignore message) -# 1 - (Disconnect players who sent malformed messages) +# Description: Defines what should be done if a message containing invalid control characters +# is received. +# Default: 0 - (Process sanitized message normally) +# 1 - (Ignore message and kick player) ChatStrictLinkChecking.Kick = 0 |
