Title: Private ip addresses being validated with public=True · Issue #206 · python-validators/validators · GitHub
Open Graph Title: Private ip addresses being validated with public=True · Issue #206 · python-validators/validators
X Title: Private ip addresses being validated with public=True · Issue #206 · python-validators/validators
Description: https://github.com/kvesteri/validators/blob/4afa24372586aed4930e865d5904eed31013fe81/validators/url.py#L146 There is no guarantee that setting this flag to True will get a "public IP address". A domain might point to private IP addresses...
Open Graph Description: https://github.com/kvesteri/validators/blob/4afa24372586aed4930e865d5904eed31013fe81/validators/url.py#L146 There is no guarantee that setting this flag to True will get a "public IP address". A do...
X Description: https://github.com/kvesteri/validators/blob/4afa24372586aed4930e865d5904eed31013fe81/validators/url.py#L146 There is no guarantee that setting this flag to True will get a "public IP address&q...
Opengraph URL: https://github.com/python-validators/validators/issues/206
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Private ip addresses being validated with public=True","articleBody":"https://github.com/kvesteri/validators/blob/4afa24372586aed4930e865d5904eed31013fe81/validators/url.py#L146\r\n\r\nThere is no guarantee that setting this flag to True will get a \"public IP address\". A domain might point to private IP addresses, (like `vcap.me` which points to `127.0.0.1`), so trusting `public=True` could lead to security issues\r\n```\r\n\u003e\u003e\u003e url(\"https://127.0.0.1\", public=True)\r\nFalse\r\n\u003e\u003e\u003e url(\"http://vcap.me\", public=True)\r\nTrue\r\n```","author":{"url":"https://github.com/joaonevess","@type":"Person","name":"joaonevess"},"datePublished":"2022-05-06T11:00:18.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/206/validators/issues/206"}
| 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:c2b64429-b8ba-912f-7abc-6b0f56e7eb24 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CDC8:16AA3F:7FA560:8AF202:698FA4FE |
| html-safe-nonce | 198b7b41d3f2aa495aeb85981813a843d1506d2d10422e0ba8d3eea8d5a7375a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDREM4OjE2QUEzRjo3RkE1NjA6OEFGMjAyOjY5OEZBNEZFIiwidmlzaXRvcl9pZCI6IjczMTg0MjY5MjQ3MDI3Mzc2NjIiLCJyZWdpb25fZWRnZSI6InNlYSIsInJlZ2lvbl9yZW5kZXIiOiJzZWEifQ== |
| visitor-hmac | fd989491a1ff2438742764704350476491a3e2dcc7da1615fa744c749c5b3482 |
| hovercard-subject-tag | issue:1227716218 |
| 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/206/issue_layout |
| twitter:image | https://opengraph.githubassets.com/73cb3d90111d0b1b2558b1ef59670bf1c4376ae7a56f782a428d5106bfede2e5/python-validators/validators/issues/206 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/73cb3d90111d0b1b2558b1ef59670bf1c4376ae7a56f782a428d5106bfede2e5/python-validators/validators/issues/206 |
| og:image:alt | https://github.com/kvesteri/validators/blob/4afa24372586aed4930e865d5904eed31013fe81/validators/url.py#L146 There is no guarantee that setting this flag to True will get a "public IP address". A do... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | joaonevess |
| hostname | github.com |
| expected-hostname | github.com |
| None | ff0b5286b4f7cd2eb22d357a0ae8fb9a0ae1eaf6abfbae7410c3b315d16414e1 |
| 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 | 5268d66f533eb3b2e65a6a398a739f35827fd64a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width