Link to view specific revision fails with Subversion Repository subdirectory
Our svn repository is accessed via a subdirectory, e.g http://server/svn/project.
When looking at a changeset, e.g. https://server/redmine/repositories/revision/project/126 the individual files are listed. The filename is a link to view the specific revision of the file committed in that changeset, e.g. https://server/redmine/repositories/entry/project*//*trunk/directory/file.ext?rev=126.
Notice that the link contains // between the project and the start of the path to the file. Clicking this link gives "he entry or revision was not found in the repository".
If I manually correct the link to remove the second / the link works correctly.
Note that other errors have been reported and fixed relating to the View Differences links on this page when accessing a Subversion repository in a subdirectory, but this is for the link from the actual filename to see that revision without any diffs.
#1 Updated by Paul Rivier almost 14 years ago
I had some troubles with slashes as well when developing the Filesystem connector. As a workaround, I use some helpers to ensure slashes are not duplicated (see format_path_ends in filesystem_adapter.rb). If bug is confirmed, and the fix needs such a function, it may be worth to move the definition in a shared place.