Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes karlheyes#430 /admin/listclients with URL auth
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 karlheyes#430
- Loading branch information
305b847
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right idea on this but it should be more general, on line 604
if (strcmp (req, "/admin.cgi") == 0 || strncmp ("/admin/", req, 7) == 0)
there are other mount specific admin requests that need that code path. Confirm that works for you and I'll add it shortly
karl