Bug 1088729 - Only allow http(s) directory links. r=adw, a=sledru