LeOSium_webview/mulch/patches/0001-Vanadium/0063-disable-trivial-subdom...

24 lines
942 B
Diff
Raw Permalink Normal View History

2023-11-18 11:46:19 +01:00
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 9936039f78fdd..3f8768dc819d9 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,