We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Uri.EscapeDataString
1 parent 5292f10 commit 569a099Copy full SHA for 569a099
YoutubeDownloader/Views/Dialogs/AuthSetupView.axaml.cs
@@ -1,6 +1,5 @@
1
using System;
2
using System.Linq;
3
-using System.Net;
4
using Avalonia.Interactivity;
5
using Avalonia.WebView.Windows.Core;
6
using Microsoft.Web.WebView2.Core;
@@ -14,7 +13,7 @@ public partial class AuthSetupView : UserControl<AuthSetupViewModel>
14
13
{
15
private const string HomePageUrl = "https://www.youtube.com";
16
private static readonly string LoginPageUrl =
17
- $"https://accounts.google.com/ServiceLogin?continue={WebUtility.UrlEncode(HomePageUrl)}";
+ $"https://accounts.google.com/ServiceLogin?continue={Uri.EscapeDataString(HomePageUrl)}";
18
19
private CoreWebView2? _coreWebView2;
20
0 commit comments