Defect #17882

Subversion: French character filename causes error 404

Added by Jean-Yves Garneau almost 8 years ago. Updated almost 8 years ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:SCM
Target version:-
Resolution: Affected version:2.5.0

Description

The file name is "AnalyseOpportunité.docx" and is converted to "AnalyseOpportunit%C3%A9.docx" so cannot be found by SVN.

I'm using Bitnami Redmine Stack :
Version 2.5.0-0 2014-03-03
  • Updated Redmine to 2.5.0
  • Updated MySQL to 5.5.36
  • Updated Ruby to 1.9.3-p545
  • Updated Rails to 3.2.16

Subversion 1.8.5 is on the local network on Linux machine and my redmine stack is on Windows 7.

The production.log file include theses lines :
Started GET "/redmine/projects/voilure/repository/entry/gestion/48586/AnalyseOpportunit%C3%A9.docx" for 127.0.0.1 at 2014-09-15 12:48:35 -0400
Processing by RepositoriesController#entry as HTML
Parameters: {"id"=>"voilure", "path"=>"gestion/48586/AnalyseOpportunité.docx"}
Current user: admin (id=1)
Rendered common/error.html.erb within layouts/base (0.0ms)
Completed 404 Not Found in 312.0ms (Views: 31.2ms | ActiveRecord: 46.8ms)


Related issues

Related to Redmine - Defect #7505: Subversion: Repository URL with space not handled correctly Closed 2011-01-31
Related to Redmine - Defect #2532: Cannot browse Subversion paths that contain spaces Closed 2009-01-19

History

#1 Updated by Toshi MARUYAMA almost 8 years ago

  • Subject changed from Opening file containing french characters in "Repository" tab cause error 404 to Subversion: French characters filename cause error 404
  • Category set to SCM

#2 Updated by Toshi MARUYAMA almost 8 years ago

  • Related to Defect #7505: Subversion: Repository URL with space not handled correctly added

#3 Updated by Toshi MARUYAMA almost 8 years ago

  • Related to Defect #2532: Cannot browse Subversion paths that contain spaces added

#4 Updated by Toshi MARUYAMA almost 8 years ago

I think you use "http://...".
Can you change it to "svn://..."?
Or can you try #7505 description change?

#5 Updated by Toshi MARUYAMA almost 8 years ago

  • Subject changed from Subversion: French characters filename cause error 404 to Subversion: French character filename causes error 404

#6 Updated by Jean-Yves Garneau almost 8 years ago

I'm using "svn://...". I don't understand #7505 resolution. Do I need to modify the "subversion_adapter.rb"?

#7 Updated by Jean-Yves Garneau almost 8 years ago

The same problem exist with directory with french character.

Also available in: Atom PDF