nathggns / Scaffold

Lightweight PHP API Framework
Other
8 stars 2 forks source link

Request params can be buggy if they contain underscores. #143

Closed nathggns closed 11 years ago

nathggns commented 11 years ago

Scaffold will interpret the URL /comments/1 for the route /comments/:comment_id with the following params.

<?php
[
    'comment' => 1
];

rather than

<?php
[
    'comment_id' => 1
];
coveralls commented 11 years ago

Coverage Status

Coverage remained the same when pulling b0f23b0e8abe0b3927b18eb2f65145b4a015c55d on issue-143 into b3bea114942794a9ea8d828dbc7a85271c1ee8df on development.

coveralls commented 11 years ago

Coverage Status

Coverage remained the same when pulling 5a3fb86c2b732ba0ca49ee7feb550bf0ff209c2b on issue-143 into b3bea114942794a9ea8d828dbc7a85271c1ee8df on development.

coveralls commented 11 years ago

Coverage Status

Coverage remained the same when pulling 5a3fb86c2b732ba0ca49ee7feb550bf0ff209c2b on issue-143 into b3bea114942794a9ea8d828dbc7a85271c1ee8df on development.