Skip to content

Commit 9356f5d

Browse files
jfsimonfabpot
authored andcommitted
Replace sha1 and md5 hashing with sha256 algorithm
1 parent 704bdfd commit 9356f5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DependencyInjection/FrameworkExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -624,7 +624,7 @@ private function registerValidationConfiguration(array $config, ContainerBuilder
624624
->replaceArgument(1, new Reference('validator.mapping.cache.'.$config['cache']));
625625
$container->setParameter(
626626
'validator.mapping.cache.prefix',
627-
'validator_'.md5($container->getParameter('kernel.root_dir'))
627+
'validator_'.hash('sha256', $container->getParameter('kernel.root_dir'))
628628
);
629629
}
630630
}

0 commit comments

Comments
 (0)