diff --git a/src/Orchard.Web/Modules/Orchard.MediaLibrary/Views/ClientStorage/Index.cshtml b/src/Orchard.Web/Modules/Orchard.MediaLibrary/Views/ClientStorage/Index.cshtml index 88f9f552a..5420fe349 100644 --- a/src/Orchard.Web/Modules/Orchard.MediaLibrary/Views/ClientStorage/Index.cshtml +++ b/src/Orchard.Web/Modules/Orchard.MediaLibrary/Views/ClientStorage/Index.cshtml @@ -87,7 +87,7 @@ url: '@Url.Action("Upload", "ClientStorage")', autoUpload: true, formData: { - folderPath: '@HttpUtility.JavaScriptStringEncode(Model.FolderPath)', + folderPath: '@Html.Raw(HttpUtility.JavaScriptStringEncode(Model.FolderPath))', type: '@HttpUtility.JavaScriptStringEncode(Model.Type)', __RequestVerificationToken: '@Html.AntiForgeryTokenValueOrchard()' },