Title: Localhost no longer recognized · Issue #312 · python-validators/validators · GitHub
Open Graph Title: Localhost no longer recognized · Issue #312 · python-validators/validators
X Title: Localhost no longer recognized · Issue #312 · python-validators/validators
Description: Setup: python3 -m pip install --upgrade validators==0.22.0 Code to reproduce: import validators validators.url("http://127.0.0.1:80/") validators.url("http://localhost:80/") Expected outcome: Both calls to return true. Similar to the oth...
Open Graph Description: Setup: python3 -m pip install --upgrade validators==0.22.0 Code to reproduce: import validators validators.url("http://127.0.0.1:80/") validators.url("http://localhost:80/") Expected outcome: Both ...
X Description: Setup: python3 -m pip install --upgrade validators==0.22.0 Code to reproduce: import validators validators.url("http://127.0.0.1:80/") validators.url("http://localhost:80/") Exp...
Opengraph URL: https://github.com/python-validators/validators/issues/312
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Localhost no longer recognized","articleBody":"Setup:\r\n`python3 -m pip install --upgrade validators==0.22.0`\r\n\r\nCode to reproduce:\r\n```\r\nimport validators\r\nvalidators.url(\"http://127.0.0.1:80/\")\r\nvalidators.url(\"http://localhost:80/\")\r\n```\r\n\r\nExpected outcome:\r\nBoth calls to return true.\r\n\r\nSimilar to the other issue, this commit https://github.com/python-validators/validators/commit/c43826c0dab6d23162b0564c448a31469331b16e seems to comment the tests for `localhost`","author":{"url":"https://github.com/23pointsNorth","@type":"Person","name":"23pointsNorth"},"datePublished":"2023-10-24T12:28:18.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/312/validators/issues/312"}
| 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:e843224d-b6bd-cab1-2cf9-9b67bed326ac |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D566:2276DA:1359F73:1AAF4BD:698F4E8A |
| html-safe-nonce | 9daf0cfc04ca5a8c1dda4e59e554fbe6f2541390e5200afcbb373c338aeda5bb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENTY2OjIyNzZEQToxMzU5RjczOjFBQUY0QkQ6Njk4RjRFOEEiLCJ2aXNpdG9yX2lkIjoiNzI2OTk1MzMyNjc5OTYwNTM4NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 9347b2d5f1461260696b20048d38ccba9775f0c52ae63bc86680cb5d8a67ed21 |
| hovercard-subject-tag | issue:1959148186 |
| 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/312/issue_layout |
| twitter:image | https://opengraph.githubassets.com/05283c0e1d755a1fb751c2ed74cd7132160214e8f182270f9c9377f1cbd33d66/python-validators/validators/issues/312 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/05283c0e1d755a1fb751c2ed74cd7132160214e8f182270f9c9377f1cbd33d66/python-validators/validators/issues/312 |
| og:image:alt | Setup: python3 -m pip install --upgrade validators==0.22.0 Code to reproduce: import validators validators.url("http://127.0.0.1:80/") validators.url("http://localhost:80/") Expected outcome: Both ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | 23pointsNorth |
| hostname | github.com |
| expected-hostname | github.com |
| None | 56b76ab55fc1aaa874bbbc88f5793e7d72ba4b8f5d8181d7ee2475ab4eddf816 |
| 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 | cd0835cb24dcc013b26bf23ea516b18c66e9faa1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width