acmesh-official / acmesh-official/acme.sh
telegram send error
- 主要言語
- Shell
- スター
- 47.6k
- フォーク
- 5.7k
- 平均マージ
- 6日 5時間
- マージ済み PR(30日)
- 15
説明
While I'm trying to setup telegram notification by running command:
acme.sh --set-notify --notify-hook telegram
this comand failes with error:
{"ok":false,"error_code":400,"description":"Bad Request: can't parse entities: Character '.' is reserved and must be escaped with the preceding '\'"}
Error sending message using telegram_send
Error setting /path/to/acme.sh/sbin/notify/telegram.sh.
Cannot set notify hook to: telegram
Some 'dots' in sended text are not escaped !
コントリビューションガイド
調査の方向性
The issue is in the telegram notification hook script. Look at /path/to/acme.sh/sbin/notify/telegram.sh where the message is assembled. The error indicates that dots in the text need to be escaped with a backslash for Telegram's API. Check the message formatting and ensure special characters like '.' are escaped. Test by running the notify command after changes.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- bash, shell
- 領域
- cli, tooling
- issue の種類
- バグ
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 活発さ
- 活発
- 明瞭さ
- 明確に書かれている
- 初心者へのやさしさ
- 75/100