Skip to content

Commit ab64ae7

Browse files
Merge 9051169 into f27fe1c
2 parents f27fe1c + 9051169 commit ab64ae7

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)