From 5370e73639310633010355f921c09a5bd8580236 Mon Sep 17 00:00:00 2001 From: PhilippC Date: Sat, 16 Mar 2013 07:15:56 +0100 Subject: [PATCH] Improved SearchForURL: if URL is facebook.com this will be displayed in the Host-Search results for www.facebook.com as well as for m.facebook.com --- src/keepass2android/search/SearchDbHelper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/keepass2android/search/SearchDbHelper.cs b/src/keepass2android/search/SearchDbHelper.cs index 73fffe40..17db7956 100644 --- a/src/keepass2android/search/SearchDbHelper.cs +++ b/src/keepass2android/search/SearchDbHelper.cs @@ -120,7 +120,7 @@ namespace keepass2android { continue; } - if (otherHost.Equals(host, StringComparison.InvariantCultureIgnoreCase)) + if (host.IndexOf(otherHost, StringComparison.InvariantCultureIgnoreCase) > -1) { pgResults.AddEntry(entry, false); }