Skip to content
This repository was archived by the owner on Oct 18, 2018. It is now read-only.

A better way to check if the entered URL is a Keywurl query #10

@hac

Description

@hac

If Keywurl is going to turn everything with a space or without a period into a search, this should be something that the user can disable. This is because there may be URLs like the following:

localhost
about:blank
javascript:alert("hello")

Some websites also have links with unencoded spaces, which cause unexpected redirects to the default search engine.

I think it would be better to simply look for a keyword as the first word of the URL, like I do in this modified version of KeywurlBrowserWindowController: http://gist.github.com/278925

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions