Filesystem adapter: read files in binary mode.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@1510 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2008-06-08 15:44:23 +00:00
parent 5dea200774
commit a0d1414606
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ module Redmine
end
def cat(path, identifier=nil)
File.new(target(path)).read
File.new(target(path), "rb").read
end
private