We do need to get rid of the slash if we escape it, because libshout will do a comparison of '/' to the first character, see there is a '%', and prepend a '/'.
The problem is that we cannot set the metadata mount and actual mount separately, so we are forced to use the escaped one.
As I said before, the problems I experienced with testing my own server are:
* The server expects a resource-only mount, and truncates an unescaped querystring to just the resource.
* Using an escaped mount with any querystring character requires listeners to escape url in order to connect.
* Unless you include the '/' handling code in my pull request, including a leading slash in preferences will result in icecast trying to mount at '//*'
@Dan
https:/ /github. com/codders/ libshout/ blob/a17fb84671 d3732317b0353d7 281cc47e2df6cf6 /src/shout. c#L493
We do need to get rid of the slash if we escape it, because libshout will do a comparison of '/' to the first character, see there is a '%', and prepend a '/'.
The problem is that we cannot set the metadata mount and actual mount separately, so we are forced to use the escaped one.
As I said before, the problems I experienced with testing my own server are:
* The server expects a resource-only mount, and truncates an unescaped querystring to just the resource.
* Using an escaped mount with any querystring character requires listeners to escape url in order to connect.
* Unless you include the '/' handling code in my pull request, including a leading slash in preferences will result in icecast trying to mount at '//*'