ninja icon indicating copy to clipboard operation
ninja copied to clipboard

Reverse routing with multiple regex parameters

Open ghost opened this issue 10 years ago • 0 comments

Hi,

While routing with multiple non-regex parameters works as expected, reverse routing the following route:

router.GET().route("/u{userId: [0-9]*}/entries/{entryTitle}").with(EntryController.class, "display");

with params userId=1, entryTitle="title" produces:

"/u1?entryTitle=title"

ghost avatar May 20 '15 11:05 ghost