Closed hackoh closed 11 years ago
In a standard static website, the trailing slash indicates the difference between a filename and a foldername. When using a framework, that difference is not relevant, only URI segments are.
Therefore the trailing slash is trimmed to avoid confusion, and to prevent people from NOT wanting this strict behaviour to define all their routes twice (with and without the trailing slash).
You can solve this issue by using this route:
rest/files(/.*)' => 'rest/files/index$1',
I encountered the following problem. My setting is below.
And access to http://localhost/rest/files/ then it matches below.
I think that this cause is the following.
In the whole FuelPHP, although it seems that the slash of the end of URI is deleted, I think that the slash of the end in URI has an important meaning.
How do you think?