metosin / reitit

A fast data-driven routing library for Clojure/Script

Home Page:https://cljdoc.org/d/metosin/reitit/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

aeriksson opened this issue · 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.

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