Subject: | MojoX::Routes::Pattern $r->route('/2009') |
Hi!
If route has '0' (ex. /2009), sub _tokenize will bad parse url.
Fix:
MojoX::Routes::Pattern line 192:
- while (my $char = substr $pattern, 0, 1, '') {
+ while (length(my $char = substr $pattern, 0, 1, '')) {
--
use Perl or die;