I have defined the following route in my code:
my $route = $r->any('/api')->to('API#');
$route->get('/get_data/:filename')->to('#submit_forms');
if the filename that I pass into the url is "foo123456.bar_baz.bz2", when I print the argument, I get: (for example http://example.com/api/get_data/foo123456.bar_baz.bz2
print Dumper($c->param('filename'));
# foo123456
Why is it cutting everything after the period?