I would like to get only one parameter.
For example site.ru/controller/action/param1/value/
But if I request follow url:
site.ru/controller/action/param1/value/param2/value2/param3/value4/
by default I havn't any error.
Is it possible to set up the depth for url parameters? Or I shuld do it manually via url parsing?
By default, there is no limit on the amount of param => value pairs used in the URL.
However you can create your own custom routes if you want to restrict the URL parameters