xiph / Icecast-Server

Icecast streaming media server (Mirror) - Please report bugs at https://gitlab.xiph.org/xiph/icecast-server/issues
https://icecast.org
GNU General Public License v2.0
476 stars 131 forks source link

Fixes #66 /admin/listclients with URL auth #67

Open TheRealMattLear opened 1 year ago

TheRealMattLear commented 1 year ago

Normally the /admin/listclients?mountpoint=/stream URL is accessible by authenticating with the <source-password> (when not using Mountpoint Authentication. However when specifying <authentication type="url"> with the stream_auth option the end-point returns 403 Forbidden with "Mountpoint in use".

This PR correctly detects /admin/listclients as a source admin request and fixes #66