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

telegram 转义问题 #210

Closed
wolfsilver opened this issue Aug 22, 2022 · 1 comment
Closed

telegram 转义问题 #210

wolfsilver opened this issue Aug 22, 2022 · 1 comment
Assignees
Labels
help wanted Extra attention is needed

Comments

@wolfsilver
Copy link

wolfsilver commented Aug 22, 2022

是否有人曾提过类似的问题?

是(Yes)

你觉得APP有什么不足之处?

对于 #205 提到的问题,现在对自定义正则之后的内容做了转义,会导致之前使用正则处理的内容也转义了
针对验证码的场景,使用code标签将数字包裹,可以在telegram上直接点击复制,类似这种

<code>441530</code>

如果转义之后,在telegram上也展示的<code>441530</code>,没办法直接复制了

你觉得该怎么去完善会比较好?【非必答】

可以将短信内容转义,正则替换的不再处理

@pppscn
Copy link
Owner

pppscn commented Aug 22, 2022

等待下一次发版测试

@pppscn pppscn closed this as completed Aug 22, 2022
venpong pushed a commit to venpong/SmsForwarder that referenced this issue Aug 26, 2022
* 'main' of https://github.com/pppscn/SmsForwarder:
  新增:`手机短信` 发送通道的 `接收手机` 允许插入 `{{来源号码}}` 标签来实现短信自动回复(短信/来电场景) pppscn#211
  优化:`Telegram`发送通道仅`POST`请求时转义原始短信内容中的`<``>``&``"`字符(正则替换不影响) pppscn#210
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants