debian-mirror-gitlab/lib/gitlab/fogbugz_import.rb
2021-09-30 23:02:18 +05:30

11 lines
262 B
Ruby

# frozen_string_literal: true
require 'fogbugz'
module Gitlab
module FogbugzImport
# Custom adapter to validate the URL before each request
# This way we avoid DNS rebinds or other unsafe requests
::Fogbugz.adapter[:http] = HttpAdapter
end
end