summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--desktop/searchweb.c14
1 files changed, 2 insertions, 12 deletions
diff --git a/desktop/searchweb.c b/desktop/searchweb.c
index fc04e68b6..23c0d5027 100644
--- a/desktop/searchweb.c
+++ b/desktop/searchweb.c
@@ -76,19 +76,9 @@ bool search_web_new_window(struct browser_window *bw, const char *searchterm)
bool search_is_url(const char *url)
{
- char *url2, *host;
-
- if (url_normalize(url, &url2) != URL_FUNC_OK)
- return false;
-
- if (url_host(url2, &host) != URL_FUNC_OK) {
- free(url2);
- return false;
- }
-
- free(host);
- free(url2);
+ /** \todo Implement this properly */
+ /* For now, everything is an URL */
return true;
}