summaryrefslogtreecommitdiff
path: root/toolkit/components/places/UnifiedComplete.js
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/components/places/UnifiedComplete.js')
-rw-r--r--toolkit/components/places/UnifiedComplete.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/components/places/UnifiedComplete.js b/toolkit/components/places/UnifiedComplete.js
index ad3d35aab7..acd358b116 100644
--- a/toolkit/components/places/UnifiedComplete.js
+++ b/toolkit/components/places/UnifiedComplete.js
@@ -1245,7 +1245,7 @@ Search.prototype = {
// * If the protocol differs we should not match. For example if the user
// searched https we should not return http.
try {
- let prefixURI = NetUtil.newURI(this._strippedPrefix);
+ let prefixURI = NetUtil.newURI(this._strippedPrefix + match.token);
let finalURI = NetUtil.newURI(match.url);
if (prefixURI.scheme != finalURI.scheme)
return false;