Fix search for "http://..."

Fixes #1576, followup to #1512