Ticket #1103 (closed defect: fixed)
Source browser removes '/' from the middle of the repository path
| Reported by: | tuukka.lehtonen@… | Owned by: | cmlenz |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.8.1 |
| Component: | version control/browser | Version: | 0.8 |
| Severity: | normal | Keywords: | |
| Cc: | manuzhai@… |
Description
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:
browse to:
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.


