Update aliyun-sms.js

Add comments for the changed code.
pull/1594/head
GOGOsu 3 years ago committed by GitHub
parent ae2c49a729
commit 2347a01f7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -93,6 +93,10 @@ class AliyunSMS extends NotificationProvider {
param2[key] = param[key]; param2[key] = param[key];
} }
// 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
let moreEscapesTable = function (m) { let moreEscapesTable = function (m) {
return { return {
"!": "%21", "!": "%21",

Loading…
Cancel
Save