-
Notifications
You must be signed in to change notification settings - Fork 269
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the Bug:
This issue occurs for some URLs that are added as markdown in the alert details page with special char like &, the URL is encoded into & causing the link to point to an incorrect or non-functional URL, this resulting in broken links when clicked.
Steps to Reproduce:
- Create an alert with links that has special chars or if one has integrated with grafana, whenever the panel goes to alerting state, the details will have the link to panel which will have & in it.
- Click on that url for navigating
- You can notice the special characters getting appended because of which we will land in the incorrect URL.
Expected Behavior:
The URL should be rendered and decoded properly without the encoded symbol allowing the link to navigate to the correct URL
URL in the details page
Link in details page: https://monitoring.temp.com/tlmy/d/bc5bf82d-5c95-4c2a-aa28-e3b5e807220d/test-payload?tab=alert&viewPanel=2&orgId=36
Link while navigating: https://monitoring.temp.com/tlmy/d/bc5bf82d-5c95-4c2a-aa28-e3b5e807220d/test-payload?tab=alert&viewPanel=2&orgId=36
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working