]> spindle.queued.net Git - midori/commitdiff
Escape special chars in formhistory array keys
authorAlexander Butenko <a.butenka@gmail.com>
Wed, 30 Jun 2010 14:43:18 +0000 (10:43 -0400)
committerChristian Dywan <christian@twotoasts.de>
Wed, 30 Jun 2010 19:09:55 +0000 (21:09 +0200)
extensions/formhistory.c

index a21b2577785dca061db984ff90b473710279dad6..c0eb8576ca9541f90bfb13270dc466cbe8cfa6c1 100644 (file)
@@ -162,6 +162,7 @@ formhistory_update_main_hash (gchar* key,
     if (length > MAXCHARS || length < MINCHARS)
         return FALSE;
 
+    formhistory_fixup_value (key);
     formhistory_fixup_value (value);
     if ((tmp = g_hash_table_lookup (global_keys, (gpointer)key)))
     {