forked from Gitlink/forgeplus
fixed:代码回退
This commit is contained in:
parent
f615487380
commit
7759ea558c
|
|
@ -83,7 +83,7 @@ class RepositoriesController < ApplicationController
|
|||
end
|
||||
|
||||
def sub_entries
|
||||
file_path_uri = URI.parse(URI.encode(params[:filepath].to_s)).gsub!("&", "%26")
|
||||
file_path_uri = URI.parse(URI.encode(params[:filepath].to_s))
|
||||
tip_exception('不可访问') if params[:filepath].to_s.include?("chinese_dictionary.txt")
|
||||
if @project.educoder?
|
||||
if params[:type] === 'file'
|
||||
|
|
|
|||
Loading…
Reference in New Issue