diff --git a/cookiecontrol.module b/cookiecontrol.module index d9ee2c5..f7aa070 100644 --- a/cookiecontrol.module +++ b/cookiecontrol.module @@ -75,7 +75,9 @@ function cookiecontrol_variable_info($options) { * Generates a clean string used for the sites cookie name */ function cookiecontrol_generatesitecookie() { - return drupal_clean_css_identifier(drupal_strtolower(variable_get('site_name', t('Drupal')))) . '_cookiecontrol'; + // Quick and dirty fix for IE and Safari. + // @see https://www.drupal.org/node/2318997 + return md5(drupal_clean_css_identifier(drupal_strtolower(variable_get('site_name', t('Drupal')))) . '_cookiecontrol'); } /**