mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-10-01 01:25:45 -04:00
Add more comment for aliyun-sms fix
This commit is contained in:
parent
73e38a13d2
commit
53b98ad3e4
@ -96,6 +96,7 @@ class AliyunSMS extends NotificationProvider {
|
|||||||
// Escape more characters than encodeURIComponent does.
|
// Escape more characters than encodeURIComponent does.
|
||||||
// For generating Aliyun signature, all characters except A-Za-z0-9~-._ are encoded.
|
// For generating Aliyun signature, all characters except A-Za-z0-9~-._ are encoded.
|
||||||
// See https://help.aliyun.com/document_detail/315526.html
|
// 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) {
|
let moreEscapesTable = function (m) {
|
||||||
return {
|
return {
|
||||||
"!": "%21",
|
"!": "%21",
|
||||||
|
Loading…
Reference in New Issue
Block a user