Ver código fonte

Merge pull request #11702 from zmstone/0928-minor-chore

0928 minor chore
Zaiming (Stone) Shi 2 anos atrás
pai
commit
98409c9b1e

+ 1 - 1
apps/emqx/etc/ssl_dist.conf

@@ -1,6 +1,6 @@
 %% This additional config file is used when the config 'cluster.proto_dist' in emqx.conf is set to 'inet_tls'.
 %% Which means the EMQX nodes will connect to each other over TLS.
-%% For more information about inter-broker security, see: https://docs.emqx.com/en/enterprise/v5.0/deploy/cluster/security.html
+%% For more information about inter-broker security, see: https://docs.emqx.com/en/enterprise/v5.3/deploy/cluster/security.html
 
 %% For more information in technical details see: http://erlang.org/doc/apps/ssl/ssl_distribution.html
 

+ 1 - 1
apps/emqx_dashboard_sso/src/emqx_dashboard_sso_saml_api.erl

@@ -85,7 +85,7 @@ sp_saml_metadata(get, _Req) ->
         #{enable := true, sp := SP} = _State ->
             SignedXml = esaml_sp:generate_metadata(SP),
             Metadata = xmerl:export([SignedXml], xmerl_xml),
-            {200, #{<<"Content-Type">> => <<"text/xml">>}, erlang:iolist_to_binary(Metadata)};
+            {200, #{<<"content-type">> => <<"text/xml">>}, erlang:iolist_to_binary(Metadata)};
         _ ->
             {404, #{code => ?BACKEND_NOT_FOUND, message => <<"Backend not found">>}}
     end.

+ 1 - 1
dev

@@ -416,7 +416,7 @@ boot() {
 gen_tmp_node_name() {
     local rnd
     rnd="$(od -t u -N 4 /dev/urandom | head -n1 | awk '{print $2 % 1000}')"
-    echo "remsh${rnd}-$EMQX_NODE_NAME}"
+    echo "remsh${rnd}-${EMQX_NODE_NAME}"
 }
 
 remsh() {