Make https the default protocol for address bar on desktop

This commit is contained in:
Jan Andre Ikenmeyer 2019-05-10 15:34:56 +02:00
parent b23219176d
commit 71fdba13be
No known key found for this signature in database
GPG key ID: 28F9E42748DD95AE

View file

@ -491,7 +491,7 @@ fn sanitize_url(request: &str) -> Option<ServoUrl> {
.ok()
.or_else(|| {
if request.contains('/') || is_reg_domain(request) {
ServoUrl::parse(&format!("http://{}", request)).ok()
ServoUrl::parse(&format!("https://{}", request)).ok()
} else {
None
}