From 8b966e3d2b313f68f83a2c824ca81f9d80aee059 Mon Sep 17 00:00:00 2001 From: Stephen Blott Date: Sun, 17 May 2015 13:50:41 +0100 Subject: For shortened URLs, do not consider case. This ensures that URLs which differ only in their case are considered duplicates, hence one is dropped. --- background_scripts/completion.coffee | 1 + 1 file changed, 1 insertion(+) diff --git a/background_scripts/completion.coffee b/background_scripts/completion.coffee index 5a47d8db..11c63cf0 100644 --- a/background_scripts/completion.coffee +++ b/background_scripts/completion.coffee @@ -137,6 +137,7 @@ class Suggestion url = decodeURI @url catch @url + url = url.toLowerCase() for [ filter, replacements ] in @stripPatterns if new RegExp(filter).test url for replace in replacements -- cgit v1.2.3