mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-24 09:44:47 +03:00
fixes #789 - Security Issue: API allows access to any folder of the PC running MediaBrowser
This commit is contained in:
13
MediaBrowser.Controller/Net/ISessionContext.cs
Normal file
13
MediaBrowser.Controller/Net/ISessionContext.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using MediaBrowser.Controller.Entities;
|
||||
using MediaBrowser.Controller.Session;
|
||||
using ServiceStack.Web;
|
||||
|
||||
namespace MediaBrowser.Controller.Net
|
||||
{
|
||||
public interface ISessionContext
|
||||
{
|
||||
SessionInfo GetSession(IRequest requestContext);
|
||||
|
||||
User GetUser(IRequest requestContext);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user