-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"edge://about" URI is working in WebView2 #604
Comments
The same applies to the following URLs "chrome://about". Please block this one also. |
@VijayanRamachandran @davidborka Thanks! I've filed a bug and we'll fix this. |
I would like to mention here if you trying to reach the following URI (edge:\\, chrome:\\) then the whole application is crashing. Application: WpfTIUXPreviewApp.exe |
"edge://about" and a bunch of other "edge://" urls are still reachable - we only blocked a subset that wouldn't make sense in a WebView2 context (like browser Settings, History, etc.). We've updated the release notes to indicate that not all are blocked, and are planning documentation to have more detail on which are blocked and which are still accessible. If you want to block your users from accessing these urls yourself, you can use the NavigationStarting event and cancel the navigation. @davidborka We're tracking the "edge://" crash separately and are going to look at it in the next sprint hopefully. Thanks! |
@davidborka The "edge://" should now be fixed in the latest Microsoft Edge Canary (90.0.815.0+) builds. Please let me know if you are still running into it and we can take another look. |
In a sample WPF application, i hosted a single instance of WebView2 as below and passed "source" url as "edge://about"
Expectation:
"edge://about" should be blocked as explained in the below release notes ( as Blocked "edge://URI scheme" in WebView )
https://docs.microsoft.com/en-us/microsoft-edge/webview2/releasenotes#09579
Current Behavior:
It is displaying the "edge://about" page as shown in below screenshot.
Version Information
Nuget - Microsoft.Web.WebView2 => 1.0.674-prerelease
Fixed Version: Microsoft.WebView2.FixedVersionRuntime.87.0.664.8.x64
AB#30158338
The text was updated successfully, but these errors were encountered: