method

valid_path?

rails latest stable - Class: ActionDispatch::FileHandler

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v5.0.0.1) is shown here.

valid_path?(path)
private

No documentation available.

# File actionpack/lib/action_dispatch/middleware/static.rb, line 98
      def valid_path?(path)
        path.valid_encoding? && !path.include?("\00"")
      end