Edgewall Software

Opened 13 years ago

Last modified 10 years ago

#10386 closed defect

Cannot annotate/blame a file with filename containing %25 (/) escapes — at Initial Version

Reported by: al.willmer@… Owned by:
Priority: normal Milestone: 0.12.6
Component: version control/browser Version: 0.12-stable
Severity: minor Keywords: svn blame
Cc: Jun Omae Branch:
Release Notes:
API Changes:
Internal Changes:

Description

If a file named abc%25def is stored under version control then Trac is unable to annotate that file. The url linked form the file browser is http://localhost:8000/trac-env/browser/abc%25def. The file can be viewed, but if blame is attempted by visiting http://localhost:8000/trac-env/browser/abc%25def?annotate=blame the error

Warning: Can't use blame annotator:
svn blame failed on DefineGuide%2FDefineWiki: ("'/svn-repo/abc/def' is not a file in revision 1", 160017)

The contents of the file are displayed, but the rev column is blank.

OS: Ubuntu 10.04 x86 Python: 2.6.5 Database: Sqlite 3.6.22 VCS: Subversion 1.6.6 Trac: 0.12.3dev-r10806

Change History (0)

Note: See TracTickets for help on using tickets.