Commit 7311393f authored by gubala's avatar gubala

removed useless code

parent 99d79d1d
......@@ -54,7 +54,7 @@ class ApplicationController < ActionController::Base
@path = params[:path]
@path.gsub!("gsiftp:/login01.prometheus.cyfronet.pl/", "prometheus/")
@path = "/#{@path}" unless @path.start_with?('/')
@unescaped_path = URI.unescape(@path).force_encoding('utf-8')
@unescaped_path = URI.unescape(@path)
@path = URI.escape @path
end
......
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