DataLinks: Sanitize data/panel link URLs (#21140)
* Sanitize html in panel links * Add sanitize-url package * Enable config mocking * Sanitize datalinks urls * Update public/app/core/config.ts * Minor test update * Remove sanitize-url dependency * Remove typings * Review update * Revert "Remove sanitize-url dependency" This reverts commitc4f38e6de6. * Revert "Remove typings" This reverts commit676d47e8c2. * Sanitaze, don't escape html when sanitizing URL
This commit is contained in:
@@ -202,6 +202,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/polyfill": "7.6.0",
|
||||
"@braintree/sanitize-url": "4.0.0",
|
||||
"@grafana/slate-react": "0.22.9-grafana",
|
||||
"@torkelo/react-select": "2.4.1",
|
||||
"@types/react-loadable": "5.5.2",
|
||||
|
||||
Reference in New Issue
Block a user