mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
#20072: Fixing media import when folder contains international chars
Work Item: 20072
This commit is contained in:
@@ -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()'
|
||||
},
|
||||
|
Reference in New Issue
Block a user