[dancer-users] Dancer1 v1.3124 on its way to CPAN

Henk van Oers hvo.pm at xs4all.nl
Sun May 11 07:00:13 BST 2014


On Sat, 10 May 2014, Yanick Champoux wrote:
[...]
> 	2. route sanity check has been modified for existence, not falsehood. 
> The main impact is that the following now works:
>
> 		prefix "/foo" => {
> 			get ''  => { ... }; # matches '/foo'!
>
> 			get '/' => { ... }; # matches '/foo/'
>
> 			get '/bar' => { ... }; matches '/foo/bar'
> 		};

A note about the first route:
If you have a directory foo in your documentroot,
servers like apache can give you an intermal redirect to /foo/

I use this, so before I can use the empty route I will
have to change my deployment.

-- 
Henk


More information about the dancer-users mailing list