class ActionView::PathResolver
def inside_path?(path, filename)
def inside_path?(path, filename) filename = File.expand_path(filename) path = File.join(path, '') filename.start_with?(path) end
def inside_path?(path, filename) filename = File.expand_path(filename) path = File.join(path, '') filename.start_with?(path) end