We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

Phalcon route exception when uri contains persian letter 'م'

Hello, Phalcon throws a route exception when there is persian letter 'م' (meem) in uri parameters. There's no problem when other unicode and persian letters used. The exception value is null. The issue isn't present in nginx.

For example this route works:
https://127.0.0.1/testRouter/index/index/یسلرسی

but this throws error:
https://127.0.0.1/testRouter/index/index/م

Here is more information about the letter 'م' (meem):
https://unicode-table.com/en/0645/

Unicode number: U+0645
HTML-code: م
Block: Arabic

Phalcon version: 3.0.4
PHP Version: 7.0.13
Operating System: Windows 10
Server: Apache

Github issue:
https://github.com/phalcon/cphalcon/issues/12703

Hi Koorsosh. Can you change persian's chars by latin's chars? https://github.com/ammont/FaSlugify