Skip to content

Commit 4b0cbac

Browse files
committed
simplify the list of allowed characters
1 parent 42b67a4 commit 4b0cbac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/HttpKernel/Kernel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ protected function initializeBundles()
480480
*/
481481
protected function getContainerClass()
482482
{
483-
return $this->name.ucfirst(preg_replace('/[^a-zA-Z0-9_\x7f-\xff]/', '', $this->environment)).($this->debug ? 'Debug' : '').'ProjectContainer';
483+
return $this->name.ucfirst(preg_replace('/[^a-zA-Z0-9_]/', '', $this->environment)).($this->debug ? 'Debug' : '').'ProjectContainer';
484484
}
485485

486486
/**

0 commit comments

Comments
 (0)