Skip to content

Fix nil error in Gitlab:Auth:IpRateLimiter

What does this MR do and why?

Fix nil error in Gitlab:Auth:IpRateLimiter

In !196981 (merged) we changed the implementation to properly handle mapped IPv6 addresses but accidentally broke handling of nil entries by moving a compact call.

We fixed something similar for trusted proxies in !202656 (merged).

Closes #566636 (closed)

Relates #565044 (closed)

Changelog: fixed

References

Screenshots or screen recordings

Before After

How to set up and validate locally

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports

Loading