Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]配置telegram推送后评论报错 #276

Closed
2 of 13 tasks
Editst opened this issue May 19, 2021 · 2 comments
Closed
2 of 13 tasks

[BUG]配置telegram推送后评论报错 #276

Editst opened this issue May 19, 2021 · 2 comments
Labels
bug Something isn't working wontfix This will not be worked on

Comments

@Editst
Copy link

Editst commented May 19, 2021

问题描述 | Describe the bug

配置telegram推送后评论报错

400 - {"ok":false,"error_code":400,"description":"Bad Request: can't parse entities: Character '#' is reserved and must be escaped with the preceding '\\'"}

问题网站 | Website URL

https://waline-olive.vercel.app/

部署方式 | Deploy Type

  • 服务部署在哪里? | Where your waline deploy?
    • Vercel
    • CloudBase
    • Docker
    • VPS, Virtual Host
    • Other
  • 数据存储在哪里?| Where your comment data store?
@Editst
Copy link
Author

Editst commented May 19, 2021

发现bug原因了,SITE_NAME包含字符'会造成这个报错

@lizheming lizheming added bug Something isn't working wontfix This will not be worked on labels May 22, 2021
@lizheming
Copy link
Collaborator

lizheming commented May 22, 2021

你好,感谢反馈,目前暂时没看出来代码层面是否有什么问题 https://github.com/lizheming/waline/blob/master/packages/server/src/service/notify.js#L165 ,猜测可能是因为 Telegram 的怪异 Markdown 语法导致的问题。你这边先规避一下吧,我这边收集下看看是否有类似问题,如果有的话我后期再跟进一下。目前先关闭该 issue,有后续问题我们可以继续讨论。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants