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.
1 parent cc31e2b commit dc733f0Copy full SHA for dc733f0
CefSharp.WinForms.Example/BrowserTabUserControl.cs
@@ -5,7 +5,6 @@
5
using System;
6
using System.Collections.Generic;
7
using System.Linq;
8
-using System.Net;
9
using System.Runtime.InteropServices;
10
using System.Threading.Tasks;
11
using System.Windows.Forms;
@@ -387,7 +386,7 @@ private void LoadUrl(string url)
387
386
}
388
else
389
{
390
- var searchUrl = "https://www.google.com/search?q=" + WebUtility.HtmlEncode(url);
+ var searchUrl = "https://www.google.com/search?q=" + Uri.EscapeDataString(url);
391
392
Browser.Load(searchUrl);
393
0 commit comments