Commit a0d14146 authored by Jean-Philippe Lang's avatar Jean-Philippe Lang

Filesystem adapter: read files in binary mode.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@1510 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 5dea2007
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment