alertmanager/asset
Tim Reddehase d517f786ef Allow slashes in receivers (#2011)
* do not split receiver by slash

I'm not sure why this was originally done, because a slash seems to be perfectly
valid in a receiver definition. The only issue i encountered was that linking
from a fired alert was not working, because of the splitting performed here.

Signed-off-by: Tim Reddehase <tim.reddehase@xing.com>

* urlquery escape Receiver by default for URL

If Receiver is allowed to contain slashes and other special characters
we need to percent encode them properly.

Signed-off-by: Tim Reddehase <tim.reddehase@xing.com>

* rerun make asset/assets_vfsdata.go

Signed-off-by: Tim Reddehase <tim.reddehase@xing.com>
2019-08-28 10:01:47 +02:00
..
asset_generate.go Migrate from go-bindata to vfsgen (#1532) 2018-09-24 15:12:40 +02:00
asset.go asset: fix when outside of $GOPATH 2019-04-15 11:41:50 +02:00
assets_vfsdata.go Allow slashes in receivers (#2011) 2019-08-28 10:01:47 +02:00
doc.go Remove Travis CI (#2005) 2019-08-26 11:15:28 +02:00