Add clean url for history
author Chris Han
()
committer Chris Han
()
commit 2a9e358b2813bf0dfe5d0285b769769de1c6b635
tree b774045dd4a8e2216e1414395de398c6492762d7
parent d950779a26f0912fcab3e8222e6083919623e705
Add clean url for history

Ideally the filename would be the the next parameter in the rest url.
The problem is that if the filename ends in php, the rest url ends up
being interpreted as an actual php file by the web server and the
request fails before the rewrite occurs. For example:

/gitphp/projects/project.git/history/util.php

This tries to execute util.php in that nonexistent folder instead of
redirecting to the history of the file util.php. If I can come up with
a better way to rewrite this I can revisit this problem in the future.
include/Router.class.php
comments