Subject: | Deal better with paths lacking final '/' in SVN::Browse |
Using a browse URL without a final '/' (such as http://svn.clkao.org/svnweb/svk/browse/trunk/bin) yields the unhelpful three-word error message 'internal server error'. While clicking through the interface won't yield these URLs, it's very easy to do so while trying to type in a SVN::Web URL by hand.
Better alternatives:
* treat this as if there was a trailing slash (simply drop the check for m|/$| in &run)
* send a redirect to the same page but with the trailing slash
* return a better error message
I would be happy to write up a patch for any of these alternatives.