summaryrefslogtreecommitdiff
path: root/modules/filter/filter.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/filter/filter.module')
-rw-r--r--modules/filter/filter.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/filter/filter.module b/modules/filter/filter.module
index 795315fd6..ad5ec9b19 100644
--- a/modules/filter/filter.module
+++ b/modules/filter/filter.module
@@ -681,7 +681,7 @@ function check_markup($text, $format_id = NULL, $langcode = '', $cache = FALSE)
$cache = $cache && !empty($format->cache);
$cache_id = '';
if ($cache) {
- $cache_id = $format->format . ':' . $langcode . ':' . md5($text);
+ $cache_id = $format->format . ':' . $langcode . ':' . hash('sha256', $text);
if ($cached = cache_get($cache_id, 'cache_filter')) {
return $cached->data;
}