Closed Grocel closed 10 months ago
Could be implemented by third party addon CFC Client HTTP Whitelist. See https://github.com/CFC-Servers/cfc_cl_http_whitelist/issues/34
Theoretically, you could parse all playlists at startup and add all URLs found to a whitelist, then check against that whitelist before fetching a file..
Yes indeed, but there are some issues which makes it less simple.
I am not sure when I will be able to get on this, though.
This has been resolved with commit 57cb64a.
When the convar
sv_streamradio_allow_customurls
set to 0 the radio does not accept any URL that has been manually inputted (wiremod, toolgun, dupe) into the radio. This is for security reasons.Even when the URL is actually existing inside a playlist it would not play if it was not picked from the playlist view in the GUI. The goal of this change is that the URL no longer blocked in this case. So the playlist files are the server's whitelist so to speak.
It is however unclear if I will be able to implement this in the near feature.