Use HTTPS for URLs by default
This commit is contained in:
parent
f8f858f15e
commit
7f330fbeed
1 changed files with 1 additions and 1 deletions
|
|
@ -402,7 +402,7 @@ class PasswordDetailTableViewController: UITableViewController, UIGestureRecogni
|
||||||
private func formActualWebAddress(from: String) -> String {
|
private func formActualWebAddress(from: String) -> String {
|
||||||
let lowercased = from.lowercased()
|
let lowercased = from.lowercased()
|
||||||
if !(lowercased.starts(with: "https://") || lowercased.starts(with: "http://")) {
|
if !(lowercased.starts(with: "https://") || lowercased.starts(with: "http://")) {
|
||||||
return "http://\(from)"
|
return "https://\(from)"
|
||||||
}
|
}
|
||||||
return from
|
return from
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue