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)
|
var url = URL(string: text)
|
||||||
{
|
{
|
||||||
if url.scheme == nil {
|
if url.scheme == nil {
|
||||||
let urlString = "https://\(text)"
|
let urlString = "http://\(text)"
|
||||||
if let fixedURL = URL(string: urlString) {
|
if let fixedURL = URL(string: urlString) {
|
||||||
url = fixedURL
|
url = fixedURL
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user