aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Common/Net/Handlers/StaticFileHandler.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Common/Net/Handlers/StaticFileHandler.cs')
-rw-r--r--MediaBrowser.Common/Net/Handlers/StaticFileHandler.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/MediaBrowser.Common/Net/Handlers/StaticFileHandler.cs b/MediaBrowser.Common/Net/Handlers/StaticFileHandler.cs
index 9bffd8e59..35d38fb4a 100644
--- a/MediaBrowser.Common/Net/Handlers/StaticFileHandler.cs
+++ b/MediaBrowser.Common/Net/Handlers/StaticFileHandler.cs
@@ -10,12 +10,22 @@ namespace MediaBrowser.Common.Net.Handlers
{
public class StaticFileHandler : BaseHandler
{
+ private string _Path;
public virtual string Path
{
get
{
+ if (!string.IsNullOrWhiteSpace(_Path))
+ {
+ return _Path;
+ }
+
return QueryString["path"];
}
+ set
+ {
+ _Path = value;
+ }
}
private bool FileStreamDiscovered = false;