Skip to content
Snippets Groups Projects
  1. Oct 24, 2019
    • David Wilkins's avatar
      Handle Stored XSS for Grafana URL in settings · 9a0dc3fa
      David Wilkins authored
      - Extend Gitlab::UrlBlocker to allow relative urls (require_absolute
        setting).  The new `require_absolute` setting defaults to true,
        which is the existing behavior.
      
      - Extend AddressableUrlValidator to accept `require_abosolute` and
        default to the existing behavior
      
      - Add validation for ApplicationSetting#grafana_url to validate that
        the URL does not contain XSS but can be a valid relative or absolute
        url.
      
      - In the case of existing stored URLs, validate the stored URL does
        not contain XSS. If the stored URL contains stored XSS or is an
        otherwise invalid URL, return the default database column value.
      
      - Add tests for Gitlab::UrlBlocker to test require_absolute setting
      
      - Add tests for AddressableUrlValidator
      
      - Add tests for ApplicationSetting#grafana_url
      9a0dc3fa
  2. Oct 07, 2019
  3. Oct 02, 2019
  4. Oct 01, 2019
  5. Sep 30, 2019
  6. Sep 26, 2019
  7. Sep 25, 2019
  8. Sep 24, 2019
  9. Sep 20, 2019
  10. Sep 19, 2019
  11. Sep 18, 2019
Loading