mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-10-20 18:43:58 +00:00
Fix long path handling issue in HtmlViewer #1643
This commit is contained in:
@@ -58,6 +58,7 @@ public class Plugin : IViewer
|
||||
|
||||
if (path.ToLower().EndsWith(".url"))
|
||||
path = Helper.GetUrlPath(path);
|
||||
_panel.FallbackPath = Path.GetDirectoryName(path); // Reserve opportunities for requesting exceeds MAX_PATH (260) limitation
|
||||
_panel.NavigateToFile(path);
|
||||
_panel.Dispatcher.Invoke(() => { context.IsBusy = false; }, DispatcherPriority.Loaded);
|
||||
}
|
||||
|
Reference in New Issue
Block a user