Edgewall Software

Ticket #1103 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

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.

Attachments

Change History

Changed 4 years ago by anonymous

  • cc manuzhai@… added

Changed 4 years ago by cmlenz

  • owner changed from jonas to cmlenz
  • priority changed from low to normal
  • status changed from new to assigned
  • severity changed from minor to normal

Changed 4 years ago by cmlenz

  • status changed from assigned to closed
  • resolution set to fixed

Fixed in [1202], ported to 0.8 in [1203].

Add/Change #1103 (Source browser removes '/' from the middle of the repository path)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
to The owner will change from cmlenz. Next status will be 'closed'
 
Note: See TracTickets for help on using tickets.