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: | 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)
Note:
See TracTickets
for help on using tickets.
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!