mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-27 16:54:04 +00:00
Update aliyun-sms.js
Add comments for the changed code.
This commit is contained in:
parent
ae2c49a729
commit
2347a01f7c
1 changed files with 4 additions and 0 deletions
|
@ -92,6 +92,10 @@ class AliyunSMS extends NotificationProvider {
|
|||
let key = oa[i];
|
||||
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) {
|
||||
return {
|
||||
|
|
Loading…
Reference in a new issue