Index: modules/comment/comment.js =================================================================== RCS file: /cvs/drupal/drupal/modules/comment/comment.js,v retrieving revision 1.2 retrieving revision 1.1 diff -u -p -r1.2 -r1.1 --- modules/comment/comment.js 20 May 2007 12:34:47 -0000 1.2 +++ modules/comment/comment.js 17 May 2007 21:05:38 -0000 1.1 @@ -1,4 +1,4 @@ -// $Id: comment.js,v 1.2 2007/05/20 12:34:47 dries Exp $ +// $Id: comment.js,v 1.1 2007/05/17 21:05:38 dries Exp $ if (Drupal.jsEnabled) { $(document).ready(function() { var parts = new Array("name", "homepage", "mail"); @@ -26,7 +26,7 @@ Drupal.comment.getCookie = function(name if (end == -1) { end = document.cookie.length; } - returnValue = decodeURIComponent(document.cookie.substring(offset, end).replace(/\+/g, '%20')); + returnValue = unescape(document.cookie.substring(offset, end)); } }