From c5f112323a2247bdb53f7468b6ec51ad884ec71b Mon Sep 17 00:00:00 2001 From: "R.M" Date: Thu, 3 Oct 2013 19:30:27 +0400 Subject: [PATCH] Support for cyrillic URLs --- libs/functions.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libs/functions.php b/libs/functions.php index dea441e..69e25a0 100644 --- a/libs/functions.php +++ b/libs/functions.php @@ -132,6 +132,10 @@ function load_page($tree) { function find_branch($tree) { $path = url_params(); foreach($path as $peice) { + + // Support for cyrillic URLs + $peice = urldecode($peice); + // Check for homepage if (empty($peice)) { $peice = 'index';