Cannot annotate/blame a file with filename containing %25 (/) escapes
|Reported by:||Owned by:||Jun Omae|
Fix subversion blame not working for path contained urlencoded characters, e.g.
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 (13)
comment:11 Changed 5 years ago by
|Release Notes:||modified (diff)|
|Status:||assigned → closed|