owncast/core/rtmp
Jannik fae2c58259
Fix rtmp secret validation to allow / (#1069) (#1070)
* Fix rtmp secret validation to allow `/` (#1069)

* add negative test cases for stuff before /live/

* simplify since Url.Path is already stripping the host

This means that we can simplify the code and make it much clearer.
Removes the tests that checked for the host and stuff between the host and /live/.
2021-06-04 20:09:43 -07:00
..
broadcaster.go
rtmp.go Fix rtmp secret validation to allow / (#1069) (#1070) 2021-06-04 20:09:43 -07:00
utils_test.go Fix rtmp secret validation to allow / (#1069) (#1070) 2021-06-04 20:09:43 -07:00
utils.go Fix rtmp secret validation to allow / (#1069) (#1070) 2021-06-04 20:09:43 -07:00