appleboy / appleboy/drone-telegram

HTML format reports "Bad Request: can't parse entities: Unsupported start tag"

Open
#64 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
113
Forks
40
PR merge metrics
No merged PRs in 30d

Description

```
pipeline:
telegram:
image: appleboy/drone-telegram
pull: true
format: html
secrets: [telegram_to, telegram_token]
```

results in:
```
2018/09/26 15:42:35 Bad Request: can't parse entities: Unsupported start tag "https://drone.git.example.com/example/example/25" at byte offset 10
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the reported pipeline configuration with format set to html and inspect the code path that formats and sends the Telegram notification. Trace how the example URL becomes part of the HTML request and verify the result against Telegram's entity parsing error. Done means notifications containing that URL are accepted without the unsupported start tag error.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, go
Domain
devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.