Edgewall Software
Modify

Opened 21 years ago

Closed 21 years ago

#104 closed defect (fixed)

Subversion-related actions fail when general.repository_dir contains a trailing slash

Reported by: mrowe@… Owned by: Jonas Borgström
Priority: normal Milestone: 0.5.2
Component: general Version: 0.5.1
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

Setting general.repository_dir to a path that has a trailing slash causes Apache to return an "Internal Server Error" when browsing to a page that accesses the repository.

Attachments (0)

Change History (1)

comment:1 by Jonas Borgström, 21 years ago

Resolution: fixed
Status: newclosed

Fixed in [216].

Eek, this looks like a bug in svn_repos_open. If the repository path has a trailing slash python aborts. Our except: statement wasn't able to catch this error.

I added some code to remove any trailing slash, I hope that's enough.

Thanks again for reporting this!

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström 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.