Avoid dns rebinding checks when the domain is whitelisted
What does this MR do?
In this MR we use the current domain whitelist that can be configured in the Admin area, to avoid blocking the URL because of the dns rebinding checks, when the domain is whitelisted.
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/66950
Screenshots
Does this MR meet the acceptance criteria?
Conformity
-
Changelog entry for user-facing changes, or community contribution. Check the link for other scenarios. -
Code review guidelines -
Merge request performance guidelines -
Style guides -
Separation of EE specific content
Edited by Francisco Javier López