From 60593b27d17f657193b48b07364585f67539fdb5 Mon Sep 17 00:00:00 2001 From: Alexander Butenko Date: Thu, 1 Jul 2010 22:09:58 +0200 Subject: [PATCH] Skip bookmark URIS starting with '(' Due to a bug in the sqlite handling we were happily adding folders with '(null') and it happened to work until now. --- midori/midori-array.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/midori/midori-array.c b/midori/midori-array.c index ca8390de..5230d586 100644 --- a/midori/midori-array.c +++ b/midori/midori-array.c @@ -768,7 +768,7 @@ katze_item_set_value_from_column (sqlite3_stmt* stmt, { const unsigned char* uri; uri = sqlite3_column_text (stmt, column); - if (uri && uri[0]) + if (uri && uri[0] && uri[0] != '(') katze_item_set_uri (item, (gchar*)uri); } else if (g_str_equal (name, "title") || g_str_equal (name, "name"))