Here's how to duplicate this error:
1. First, using Google Chrome, go to LinkedIn.com and log in with your profile (hopefully that's possible for you)
2. Search for and view the profile "Jeff Weiner", CEO of LinkedIn
3. Click the "Contact Info" link in the bottom-right corner of the profile header section, which will reveal the "Company Website" link
4. Inspect the "Company Website" link, and you'll see the HREF is as follows:
Quote:
<a href="/redir/redirect?url=http%3A%2F%2Fwww%2Elinkedin%2Ecom%2F&urlhash=XkSC">
5. Now using EO.WebBrowser, go to the same page
6. Run this code to get the DOM/HTML of the underlying page:
Code: C#
System.IO.File.WriteAllTextSystem.IO.Path.Combine(Environment.SpecialFolder.Desktop, "dom.txt"), myBrowserControl.WebBrowser.GetHtml());
If you look at the same HREF for the "Company Website" link, it will look like this:
Quote:
<a href="/redir/redirect?url=http%3A%2F%2Fwww%2Elinkedin%2Ecom%2F&urlhash=XkSC">
Notice that the "&" in the original query string is now URL-encoded as "&".