1. 08 Feb, 2021 1 commit
    • Bob Van Landuyt's avatar
      Don't modify env in request forgery protection · 33554c93
      Bob Van Landuyt authored
      This avoids modifying the Rack-env in request forgery protection.
      
      If we do allow the env to be modified, this would cause requests made
      to our public API by our own frontend to be incorrectly recorded in
      metrics and logs.
      
      The Gitlab::RequestForgeryProtection::Controller and it's index action
      would be recorded as the caller instead of the actual endpoint being
      called.
      33554c93
  2. 02 Feb, 2021 39 commits