Skip to content

Avoid checking dns rebind protection in validation

What does this MR do?

This MR sets by default the dns_rebind_protection to false in the AddressableUrlValidator. This way, we will only check the protection when we actually perform the request.

The reasoning behind this is that we might have to create or update records with URLs that, at the time of that operation, the URLs are not resolvable yet.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/66723

Does this MR meet the acceptance criteria?

Conformity

Merge request reports