Skip to content

Commit c9bb048

Browse files
Merge 9e3a313 into ac2a90d
2 parents ac2a90d + 9e3a313 commit c9bb048

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CefSharp/SchemeHandler/FolderSchemeHandlerFactory.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ protected virtual IResourceHandler Create(IBrowser browser, IFrame frame, string
109109
asbolutePath = defaultPage;
110110
}
111111

112-
var filePath = WebUtility.UrlDecode(Path.GetFullPath(Path.Combine(rootFolder, asbolutePath)));
112+
var filePath = Path.GetFullPath(Path.Combine(rootFolder, WebUtility.UrlDecode(asbolutePath)));
113113

114114
//Check the file requested is within the specified path and that the file exists
115115
if (filePath.StartsWith(rootFolder, StringComparison.OrdinalIgnoreCase) && File.Exists(filePath))

0 commit comments

Comments
 (0)