Add templating functions for working with URLs
This is adding 2 functions to templating to improve ability to work with URLs in templates.
These functions are
safeUrl(the same assafeHtml, but for URLs)urlUnescape(transforming stuff like%20to blanks)
For relevant context on why I need that, see #4616. I'm also fine with dropping either of the functions for my issue. safeUrl might have some security implications, while urlUnescape can already be implemented quite inefficiently with a long chain of reReplaceAll and therefore should have less security implications
What's missing for this to be merged?
I kinda fatfingered closing this PR (some weird keyboard shortcuts while trying to type). Well, to repeat the question above, what's missing here to get this merged? Kinda bummer that this didn't make it into the last release, especially as the alertmanager release cycle is rather slow
I'm planning to push some more frequent / regular releases for all of the changes we're making.