Source browser removes '/' from the middle of the repository path
|Reported by:||Owned by:||Christopher Lenz|
Hi, Trac is a great piece of software, many thanks for it!
Just noticed a very minor visual only (?) fault. When you browse your SVN source and hit in a URL that points to a directory in the repository but doesn't end in '/', Trac 0.8 will incorrectly remove the next '/' scanning from the back of the path name which is shown above the source directory listing. I managed to do this accidentally with a wiki source-link. For example:
http://<my host>/projects/<my project>/browser/trunk/<some subdir>/
will show: "root/trunk/<some subdir>"
but browsing to:
http://<my host>/projects/<my project>/browser/trunk/<some subdir>
will show: "root/trunk<some subdir>/"
This would seem like a somewhat trivial error in path name processing.