##// END OF EJS Templates
scm: cvs: fix loss non ASCII paths if path_encoding is '' (#3462)....
Toshi MARUYAMA -
r5510:956e8af591f1
parent child
Show More
@@ -67,7 +67,7 module Redmine
67 # password -> unnecessary too
67 # password -> unnecessary too
68 def initialize(url, root_url=nil, login=nil, password=nil,
68 def initialize(url, root_url=nil, login=nil, password=nil,
69 path_encoding=nil)
69 path_encoding=nil)
70 @path_encoding = path_encoding || 'UTF-8'
70 @path_encoding = path_encoding.blank? ? 'UTF-8' : path_encoding
71 @url = url
71 @url = url
72 # TODO: better Exception here (IllegalArgumentException)
72 # TODO: better Exception here (IllegalArgumentException)
73 raise CommandFailed if root_url.blank?
73 raise CommandFailed if root_url.blank?
General Comments 0
You need to be logged in to leave comments. Login now