reitit icon indicating copy to clipboard operation
reitit copied to clipboard

Either support or disallow wildcard params not at the end of path

Open aeriksson opened this issue 2 years ago • 1 comments

Currently, Reitit allows users to create routes with paths on the form /.../{*param}/....

However, routing doesn't seem to work for such routes (it seems to give 'false' matches, and path parameters aren't extracted properly).

Either such routes should work, or Reitit should provide an error/warning when they are created.

aeriksson avatar Nov 01 '22 15:11 aeriksson

Good catch, this should be fixed (e.g. not allow them in non-tail postion)!

ikitommi avatar Jan 10 '23 12:01 ikitommi