Problem with Cyrillic

I have a route: $api->add('/is_unique_term/{term}', ['action' => 'isUniqueTerm']); That is my action for the route: public function isUniqueTermAction(string $term) But when i try to send cyrillic symbols in the term part Phalcon removes my symbols and heads to other route. Does someone know about this?

edited Feb '20

Try the suggestion mentioned here: https://forum.phalcon.io/discussion/1557/capturing-any-charachter

No, this was not help. It's the Phalcon problem. The framework removes all utf-8 characters from uri. My solution the problem:

I changed the route to this - $api->add('/is_unique_term', ['action' => 'isUniqueTerm']); And in the action I get the term parameter as follows: $term = $this->request->get('term');

This is not as convenient as it was before, because now I need to check $term for emptiness, but it works.

Thanks anyway!

Could you create an issue with code examples here? - https://github.com/phalcon/cphalcon/issues

Thank you