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

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??



32.2k
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?



4.8k

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