Thanks.
The default route doesn't appear to do the trick (see the updated question).
So far I've had no luck with the plack middleware, although http://advent.perldancer.org/2010/22 looks promising (towards the bottom where they wrap the app).
In reply to Re^2: Limit URL length with Dancer/Starman ( Plack::Middleware::ProhibitRequestUri8190 )
by gsiems
in thread SOLVED: Limit URL length with Dancer/Starman
by gsiems
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |