- Issue created by @solideogloria
See the comparison between 1.x and 2.x:
https://git.drupalcode.org/project/restrict_route_by_ip/-/compare/2.0.x....
Never mind. I was wrong and missed that the CSRF fixes were applied, but none of the other commits were applied. The issue is fixed in 2.x