Skip to content
Permalink
Browse files

Make https the default protocol for address bar on desktop

  • Loading branch information
Darkspirit committed May 10, 2019
1 parent b232191 commit 71fdba13bec8dbf0e8cf976474b5a8c9fbbb9001
Showing with 1 addition and 1 deletion.
  1. +1 −1 ports/glutin/browser.rs
@@ -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
}

0 comments on commit 71fdba1

Please sign in to comment.
You can’t perform that action at this time.