Escape special chars in formhistory array keys

This commit is contained in:
Alexander Butenko 2010-06-30 10:43:18 -04:00 committed by Christian Dywan
parent f759fe921a
commit e7e2181858

View 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)))
{