Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

URL-Parameter doesn't contain trailing zero

my router:

$router->add(
    "/Info-Base/Seite{page:[0-9]+}",
    [
        "controller" => 'infobase',
        "action"     => 'news'
    ]
);

URL: /Info-Base/Seite20/ getting in parameter only "2" - problem!

URL: /Info-Base/Seite23/ getting in parameter "23" - OK!

why this??



31.3k
Accepted
answer
edited Dec '18

it looks like a bug... @sergey what do you think?

The correct address to ping is: @sergeyklay

it looks like a bug... @sergey what do you think?



3.6k

I had another redirect, route works as expected, problem solved.