class ActionDispatch::FileHandler

def clean_path(path_info)

Experimental RBS support (using type sampling data from the type_fusion project).

def clean_path: (String path_info) -> String

This signature was generated using 1 sample from 1 application.

def clean_path(path_info)
  path = ::Rack::Utils.unescape_path path_info.chomp("/")
  if ::Rack::Utils.valid_path? path
    ::Rack::Utils.clean_path_info path
  end
end