Skip to content
Snippets Groups Projects
Commit deb4de9b authored by Stefan Ruijsenaars's avatar Stefan Ruijsenaars
Browse files

Issue #1884830 by pwolanin, dcam: Regression - replace md5 in Filter module calls with sha2 hashes

parent ffe9f917
No related branches found
No related tags found
No related merge requests found
......@@ -1638,7 +1638,7 @@ function _filter_url_escape_comments($match, $escape = NULL) {
// Replace all HTML coments with a '<!-- [hash] -->' placeholder.
if ($mode) {
$content = $match[1];
$hash = md5($content);
$hash = hash('sha256', $content);
$comments[$hash] = $content;
return "<!-- $hash -->";
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment