Title: Add validation for public IP addresses · Issue #202 · python-validators/validators · GitHub
Open Graph Title: Add validation for public IP addresses · Issue #202 · python-validators/validators
X Title: Add validation for public IP addresses · Issue #202 · python-validators/validators
Description: While looking at the IPV4 validator, it looks like we could benefit to a validation using the https://docs.python.org/3/library/ipaddress.html#ipaddress.IPv4Address.is_private function to check if the IPAddress provided is public or not....
Open Graph Description: While looking at the IPV4 validator, it looks like we could benefit to a validation using the https://docs.python.org/3/library/ipaddress.html#ipaddress.IPv4Address.is_private function to check if ...
X Description: While looking at the IPV4 validator, it looks like we could benefit to a validation using the https://docs.python.org/3/library/ipaddress.html#ipaddress.IPv4Address.is_private function to check if ...
Opengraph URL: https://github.com/python-validators/validators/issues/202
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add validation for public IP addresses","articleBody":"While looking at the IPV4 validator, it looks like we could benefit to a validation using the https://docs.python.org/3/library/ipaddress.html#ipaddress.IPv4Address.is_private function to check if the IPAddress provided is public or not.\r\n\r\nI was thinking of a kwarg named `public` just like the one used on the URL validator. Does that sound useful?","author":{"url":"https://github.com/biancarosa","@type":"Person","name":"biancarosa"},"datePublished":"2022-02-28T13:54:18.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/202/validators/issues/202"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:784a2613-b72b-51d9-ecec-c624a10ab80f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 99E8:1F7AEB:11F9B31:16BB709:699161FB |
| html-safe-nonce | c301b4b4dd1f855ad93443379ac9d99a82cd43cd2043c6d930f273f5a6113cfc |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OUU4OjFGN0FFQjoxMUY5QjMxOjE2QkI3MDk6Njk5MTYxRkIiLCJ2aXNpdG9yX2lkIjoiMjg5MDYxNTY0NTk5MjQ3NzE4MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 70294c3046c29274e317b3c998bf822b3e6957e71c96a31da2e3b85ef26be8eb |
| hovercard-subject-tag | issue:1154120999 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python-validators/validators/202/issue_layout |
| twitter:image | https://opengraph.githubassets.com/99b698e4637af4963519c23c86264206afd4376db0dff0af100d4f8a0d1a26b5/python-validators/validators/issues/202 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/99b698e4637af4963519c23c86264206afd4376db0dff0af100d4f8a0d1a26b5/python-validators/validators/issues/202 |
| og:image:alt | While looking at the IPV4 validator, it looks like we could benefit to a validation using the https://docs.python.org/3/library/ipaddress.html#ipaddress.IPv4Address.is_private function to check if ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | biancarosa |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/python-validators/validators git https://github.com/python-validators/validators.git |
| octolytics-dimension-user_id | 113113270 |
| octolytics-dimension-user_login | python-validators |
| octolytics-dimension-repository_id | 13642984 |
| octolytics-dimension-repository_nwo | python-validators/validators |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 13642984 |
| octolytics-dimension-repository_network_root_nwo | python-validators/validators |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 848bc6032dcc93a9a7301dcc3f379a72ba13b96e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width