Edgewall Software
Modify

Opened 20 years ago

Closed 20 years ago

#1103 closed defect (fixed)

Source browser removes '/' from the middle of the repository path

Reported by: tuukka.lehtonen@… Owned by: Christopher Lenz
Priority: normal Milestone: 0.8.1
Component: version control/browser Version: 0.8
Severity: normal Keywords:
Cc: manuzhai@… Branch:
Release Notes:
API Changes:
Internal Changes:

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 (0)

Change History (3)

comment:1 by anonymous, 20 years ago

Cc: manuzhai@… added

comment:2 by Christopher Lenz, 20 years ago

Owner: changed from Jonas Borgström to Christopher Lenz
Priority: lownormal
Severity: minornormal
Status: newassigned

comment:3 by Christopher Lenz, 20 years ago

Resolution: fixed
Status: assignedclosed

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

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Christopher Lenz.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Christopher Lenz to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.