From: Alexander Butenko Date: Wed, 30 Jun 2010 14:43:18 +0000 (-0400) Subject: Escape special chars in formhistory array keys X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e7e2181858186561d9a3ebd4e4cacd964e421b14;p=midori Escape special chars in formhistory array keys --- diff --git a/extensions/formhistory.c b/extensions/formhistory.c index a21b2577..c0eb8576 100644 --- a/extensions/formhistory.c +++ b/extensions/formhistory.c @@ -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))) {