From 53b98ad3e488611bc426547c9de271411e6942b7 Mon Sep 17 00:00:00 2001 From: Louis Lam Date: Sun, 1 May 2022 12:10:47 +0800 Subject: [PATCH] Add more comment for aliyun-sms fix --- server/notification-providers/aliyun-sms.js | 1 + 1 file changed, 1 insertion(+) diff --git a/server/notification-providers/aliyun-sms.js b/server/notification-providers/aliyun-sms.js index 79f0dd30a..fa73ffb1f 100644 --- a/server/notification-providers/aliyun-sms.js +++ b/server/notification-providers/aliyun-sms.js @@ -96,6 +96,7 @@ class AliyunSMS extends NotificationProvider { // Escape more characters than encodeURIComponent does. // For generating Aliyun signature, all characters except A-Za-z0-9~-._ are encoded. // See https://help.aliyun.com/document_detail/315526.html + // This encoding methods as known as RFC 3986 (https://tools.ietf.org/html/rfc3986) let moreEscapesTable = function (m) { return { "!": "%21",