24 lines
942 B
Diff
24 lines
942 B
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: JTL <jtl@teamclassified.ca>
|
|
Date: Sat, 21 Dec 2019 04:04:24 +0000
|
|
Subject: [PATCH] disable trivial subdomain hiding
|
|
|
|
---
|
|
components/url_formatter/url_formatter.cc | 3 +--
|
|
1 file changed, 1 insertion(+), 2 deletions(-)
|
|
|
|
diff --git a/components/url_formatter/url_formatter.cc b/components/url_formatter/url_formatter.cc
|
|
index 5c7783a11f3f4..6d9eaff152084 100644
|
|
--- a/components/url_formatter/url_formatter.cc
|
|
+++ b/components/url_formatter/url_formatter.cc
|
|
@@ -658,8 +658,7 @@ std::u16string FormatUrlWithAdjustments(
|
|
*prefix_end = static_cast<size_t>(url_string.length());
|
|
|
|
// Host.
|
|
- bool trim_trivial_subdomains =
|
|
- (format_types & kFormatUrlOmitTrivialSubdomains) != 0;
|
|
+ bool trim_trivial_subdomains = false;
|
|
bool trim_mobile_prefix = (format_types & kFormatUrlOmitMobilePrefix) != 0;
|
|
AppendFormattedComponent(
|
|
spec, parsed.host,
|