alerta / alerta-webui

Alerta Web UI 7.0
https://try.alerta.io
Apache License 2.0
109 stars 55 forks source link

render HTML marked-up attributes #536

Open 2bithacker opened 2 years ago

2bithacker commented 2 years ago

This addresses #535. Rather than rendering attributes if they contain a link, look for things that look like HTML tags instead.

I considered the code-injection potential of this, but I don't think it's any better or worse than the current code, as anything with http:// in it would be rendered currently.

netlify[bot] commented 2 years ago

Deploy Preview for peaceful-beignet-dcf974 failed.

Name Link
Latest commit 02d9a0e5e0c0a827850a137d56b0e3adf1784902
Latest deploy log https://app.netlify.com/sites/peaceful-beignet-dcf974/deploys/63068ae75ab09d000a1faf00