Probably better to assume http instead of https
This commit is contained in:
@@ -314,7 +314,7 @@ class BrowserViewController: UIViewController, WKNavigationDelegate,
|
||||
var url = URL(string: text)
|
||||
{
|
||||
if url.scheme == nil {
|
||||
let urlString = "https://\(text)"
|
||||
let urlString = "http://\(text)"
|
||||
if let fixedURL = URL(string: urlString) {
|
||||
url = fixedURL
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user