Actions
Cleanup #37941
closedmgr/dashboard: Replace IP address validation with Python standard library functions
% Done:
0%
Tags:
low-hanging-fruit
Backport:
Reviewed:
Affected Versions:
Pull request ID:
Description
Currently, we use self-written validation methods to validate IPv4 and IPv6 addresses. By replacing those with Pythons standard library functions, namely `ipaddress`, we can save around 40 lines of code (including tests) and reduce the complexity of the code.
Updated by Lenz Grimmer about 5 years ago
- Status changed from New to Fix Under Review
- Pull request ID set to 26184
Updated by Sage Weil almost 5 years ago
- Status changed from Fix Under Review to Resolved
Updated by Ernesto Puerta about 3 years ago
- Project changed from mgr to Dashboard
- Category changed from 132 to General
Actions