• Fabien Potencier's avatar
    implemented the same behavior as Symfony2 for URLs ending with / · b4c3ffba
    Fabien Potencier authored
    If a route ends with a / and the user forgets the / (and a similar route without a / does not exist),
    then, the user will be redirected to the real URL:
    
    If you have a /doc/ URL pattern, a request to /doc will redirect you to /doc/
    
    This is especially useful for the root URL (/):
    
    /index.php (which does not make sense as the path info is / at a minimum)
    redirects to /index.php/
    b4c3ffba
Name
Last commit
Last update
doc Loading commit data...
src/Silex Loading commit data...
tests Loading commit data...
vendor Loading commit data...
.gitignore Loading commit data...
.gitmodules Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
autoload.php Loading commit data...
compile Loading commit data...
example.htaccess Loading commit data...
phpunit.xml.dist Loading commit data...