Skip to content

Commit

Permalink
Fix EZP-26748: Wrong image URI when content name has extended UTF cha…
Browse files Browse the repository at this point in the history
…racters
  • Loading branch information
glye committed Dec 20, 2016
1 parent 633121e commit 6ba5fe1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions web/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\Debug\Debug;

// Ensure UTF-8 is used in string operations
setlocale(LC_CTYPE, 'C.UTF-8');

// Environment is taken from "SYMFONY_ENV" variable, if not set, defaults to "prod"
$environment = getenv('SYMFONY_ENV');
if ($environment === false) {
Expand Down

0 comments on commit 6ba5fe1

Please sign in to comment.