Skip to content

Conversation ProjectsHelper#sanitize_repo_path

This helper is meant to prevent leaking full disk paths to repositories in user-facing error messages; it blacklists the known repository storage paths. It will stop working in the Gitaly world, because the process that runs this helper (Unicorn or Sidekiq) does not know what to put on its blacklist.


Stages:

RPC Endpoints:

  • Endpoint::Name

Known Client Routes:

  • Known client endpoints

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information