Subject: | just 'zero' uri is unnoticed |
today, i wrote this in controller.
sub shot_uri_for_mobile : Regex('^\d+$') {
...
}
then fetch http://localhost:3000/0 ...
[info] FooBar powered by Catalyst 5.7007
You can connect to your server at http://localhost:3000
[info] *** Request 1 (0.500/s) [919] [Thu Sep 13 17:23:56 2007] ***
[debug] "GET" request for "/" from "127.0.0.1"
[debug] Found sessionid "d57688ff9bbe705d4fa06ee9a0eca1737a22e644" in cookie
[debug] Restored session "d57688ff9bbe705d4fa06ee9a0eca1737a22e644"
[debug] Rendering template "wrapper.html"
[info] Request took 0.335294s (2.982/s)
.----------------------------------------------------------------+-----------.
| Action | Time |
+----------------------------------------------------------------+-----------
+
| /auto | 0.000953s |
| /index | 0.001354s |
| -> /welcome | 0.000058s |
| /end | 0.272910s |
| -> /render | 0.217963s |
| -> EmailFlyer::View::TT->process | 0.215132s |
'----------------------------------------------------------------+-----------'
hmm. following dispatch was unnoticed too.
sub zero_test : Path('0') {
....
}
does this behavior is bug or not?