Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More https #23363

Merged
merged 4 commits into from May 14, 2019
Merged

More https #23363

Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Prev

Make https the default protocol for address bar on desktop

  • Loading branch information
Darkspirit committed May 10, 2019
commit 71fdba13bec8dbf0e8cf976474b5a8c9fbbb9001
@@ -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
}
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.