Does not strip extension when uri ends with a slash

```php
// URL: http://localhost/example/index.html
echo Input::uri(); // return /example/index (correct)

// URL: http://localhost/example/1.2.3/
echo Input::uri(); // return /example/1.2 (incorrect)
```

Is this a bug ?
I implemented a branching process when the URI ends with a slash.