Created
May 13, 2011 10:20
-
-
Save tsupo/970306 to your computer and use it in GitHub Desktop.
patch (hint) for webkitdotnet-webkitdotnet-160a223/WebKitCore/WebKitBrowserCore.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*** webkit.net/webkitdotnet-webkitdotnet-160a223/WebKitCore/WebKitBrowserCore.cs Fri Mar 18 00:16:04 2011 | |
--- WEBKIT_test_working002/webkit.net/webkitdotnet-webkitdotnet-160a223/WebKitCore/WebKitBrowserCore.cs Wed May 11 10:17:26 2011 | |
*************** | |
*** 870,877 **** | |
if (loaded) | |
{ | |
// prepend with "http://" if url not well formed | |
! if (!Uri.IsWellFormedUriString(url, UriKind.Absolute)) | |
! url = "http://" + url; | |
activationContext.Activate(); | |
--- 870,880 ---- | |
if (loaded) | |
{ | |
// prepend with "http://" if url not well formed | |
! if (!Uri.IsWellFormedUriString(url, UriKind.Absolute)) /* {@@} */ | |
! { /* {@@} */ | |
! // if (!url.StartsWith("javascript:")) /* {@@} */ | |
! url = "http://" + url; /* {@@} */ | |
! } /* {@@} */ | |
activationContext.Activate(); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment