Compare commits

...

10 Commits

Author SHA1 Message Date
neil
08246f7005 Merge pull request #6567 from vmichelin/dev
fix #6555 : ovh dns api enable to remove record
2025-10-18 13:11:30 +02:00
neil
c377ec69d3 Merge pull request #6571 from DuolaD/master
Fix the issue where Telegram bots would not push notifications.
2025-10-18 12:41:15 +02:00
DuolaD
a2c2b7ffee Fixed the issue where Telegram bots would not push notifications. 2025-10-18 11:41:26 +08:00
Vmichelin
25c564bae1 fix #6555 : ovh dns api enable to remove record 2025-10-14 10:10:19 +02:00
neil
a5754e9ec4 Merge pull request #6551 from acmesh-official/dev
sync
2025-10-06 12:32:49 +01:00
neil
a91ab54449 Merge pull request #6540 from acmesh-official/dev
sync
2025-09-27 22:22:55 +01:00
neil
b8e91036dd Merge pull request #6524 from acmesh-official/dev
sync
2025-09-21 18:06:01 +02:00
neil
49ed112ef5 Merge pull request #6523 from acmesh-official/dev
sync
2025-09-21 17:18:25 +02:00
neil
20c80f553f Merge pull request #6513 from acmesh-official/dev
sync
2025-09-15 20:13:47 +02:00
neil
03dd318265 Merge pull request #6505 from acmesh-official/dev
sync
2025-09-07 20:49:42 +02:00
2 changed files with 3 additions and 3 deletions

View File

@@ -201,7 +201,7 @@ dns_ovh_rm() {
if ! _ovh_rest GET "domain/zone/$_domain/record/$rid"; then
return 1
fi
if _contains "$response" "\"target\":\"$txtvalue\""; then
if _contains "$response" "$txtvalue"; then
_debug "Found txt id:$rid"
if ! _ovh_rest DELETE "domain/zone/$_domain/record/$rid"; then
return 1

View File

@@ -34,8 +34,8 @@ telegram_send() {
fi
_saveaccountconf_mutable TELEGRAM_BOT_URLBASE "$TELEGRAM_BOT_URLBASE"
_subject="$(printf "%s" "$_subject" | sed 's/\\/\\\\\\\\/g' | sed 's/\]/\\\\\]/g' | sed 's/\([-_*[()~`>#+\-=|{}.!]\)/\\\\\1/g')"
_content="$(printf "%s" "$_content" | sed 's/\\/\\\\\\\\/g' | sed 's/\]/\\\\\]/g' | sed 's/\([-_*[()~`>#+\-=|{}.!]\)/\\\\\1/g')"
_subject="$(printf "%s" "$_subject" | sed -E 's/([][()~`>#+=|{}.!*_\\-])/\\\\\1/g')"
_content="$(printf "%s" "$_content" | sed -E 's/([][()~`>#+=|{}.!*_\\-])/\\\\\1/g')"
_content="$(printf "*%s*\n%s" "$_subject" "$_content" | _json_encode)"
_data="{\"text\": \"$_content\", "
_data="$_data\"chat_id\": \"$TELEGRAM_BOT_CHATID\", "