forked from zotan/webmusic
Fix plus sign in folder names
This commit is contained in:
parent
f46ed4dd15
commit
c527cc17aa
|
@ -21,7 +21,8 @@ namespace webmusic.Pages
|
|||
public void OnGet()
|
||||
{
|
||||
if (Request.QueryString.HasValue)
|
||||
path = HttpUtility.UrlDecode(Request.QueryString.Value.Remove(0,1));
|
||||
path = HttpUtility.UrlDecode(Request.QueryString.Value.Remove(0,1)
|
||||
.Replace("+", "%2B"));
|
||||
if (path.EndsWith(".m3u"))
|
||||
path = path.Substring(0, path.Length - 4);
|
||||
if (path.Contains(".."))
|
||||
|
|
Loading…
Reference in a new issue