Defect #3462 ยป cvs-path-encoding.patch
lib/redmine/scm/adapters/cvs_adapter.rb (working copy) | ||
---|---|---|
294 | 294 |
end |
295 | 295 |
|
296 | 296 |
def normalize_path(path) |
297 |
path = Iconv.conv 'UTF-8', Setting.repositories_encodings, path |
|
297 | 298 |
path.sub(/^(\/)*(.*)/,'\2').sub(/(.*)(,v)+/,'\1') |
298 | 299 |
end |
299 | 300 |
end |