Skip to content

Commit 156cb70

Browse files
javiereguiluznicolas-grekas
authored andcommitted
[DI] Don't force lowercase for hasher values
1 parent c8d7a6f commit 156cb70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/DependencyInjection/ContainerBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1328,7 +1328,7 @@ public static function hash($value)
13281328
{
13291329
$hash = substr(base64_encode(hash('sha256', serialize($value), true)), 0, 7);
13301330

1331-
return str_replace(array('/', '+'), array('.', '_'), strtolower($hash));
1331+
return str_replace(array('/', '+'), array('.', '_'), $hash);
13321332
}
13331333

13341334
/**

0 commit comments

Comments
 (0)