firest 3 лет назад
Родитель
Сommit
6b0de714bc

+ 1 - 1
apps/emqx_retainer/src/emqx_retainer.app.src

@@ -2,7 +2,7 @@
 {application, emqx_retainer, [
     {description, "EMQX Retainer"},
     % strict semver, bump manually!
-    {vsn, "5.0.6"},
+    {vsn, "5.0.7"},
     {modules, []},
     {registered, [emqx_retainer_sup]},
     {applications, [kernel, stdlib, emqx]},

+ 1 - 1
apps/emqx_retainer/src/emqx_retainer_dispatcher.erl

@@ -297,7 +297,7 @@ do_deliver([Msg | T], Pid, Topic) ->
                 ignore_retained_message_deliver,
                 #{
                     reason => "client is banned",
-                    clienid => Msg#message.from
+                    clientid => Msg#message.from
                 }
             )
     end,

+ 2 - 2
changes/v5.0.11-en.md

@@ -2,8 +2,8 @@
 
 ## Enhancements
 
-- Improve the integration of the `banned` and the `retain` feature [#9326](https://github.com/emqx/emqx/pull/9326).
-  The retained messages that its source client is banned will be filtered out when they are delivered.
+- Security enhancement for retained messages [#9326](https://github.com/emqx/emqx/pull/9326).
+  The retained messages will not be published if the publisher client is banned.
 
 ## Bug fixes
 

+ 1 - 1
changes/v5.0.11-zh.md

@@ -2,7 +2,7 @@
 
 ## 增强
 
-- 增强 `封禁` 和 `保留消息` 这两个功能的集成性 [#9332](https://github.com/emqx/emqx/pull/9332)。
+- 增强 `保留消息` 的安全性 [#9332](https://github.com/emqx/emqx/pull/9332)。
   现在投递保留消息前,会先过滤掉来源客户端被封禁了的那些消息。
 
 ## Bug fixes