URLs in logs are sometimes broken because of extraneous characters
Open
Nobody has claimed this yet.
bug
- Dominant language
- Go
- Stars
- 10.1k
- Forks
- 413
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 6
Description
Expected Behavior
- In logs, click a link:
{'id': '2342342', 'url': 'https://foo.com',}
- See URL in new tab:
https://foo.com
Current Behavior
- In logs, click a link:
{'id': '2342342', 'url': 'https://foo.com',}
- See URL in new tab:
https://foo.com',— broken 😞
Steps to Reproduce
- Go to Resource View to view logs that includes URL in JSON
- Click on URL
Context
This was observed in a user interview on 2021-06-28.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in the Resource View, where the issue reproduces when a URL appears in JSON logs and is clicked. Trace the URL-link handling from that view and verify the result against the example: the new tab should open https://foo.com without the trailing quote or comma.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- observability-sre
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100