Title: fix: reject MAC addresses with mixed separators by iCasture · Pull Request #432 · python-validators/validators · GitHub
Open Graph Title: fix: reject MAC addresses with mixed separators by iCasture · Pull Request #432 · python-validators/validators
X Title: fix: reject MAC addresses with mixed separators by iCasture · Pull Request #432 · python-validators/validators
Description: Previously, the MAC address validator would accept invalid MAC addresses that mixed different separators, such as aa:bb-cc-dd:ee:ff, but a valid MAC address should use consistent separators throughout. This PR improves the MAC address validator by adding a check to reject MAC addresses that use mixed separators (both : and - characters).
Open Graph Description: Previously, the MAC address validator would accept invalid MAC addresses that mixed different separators, such as aa:bb-cc-dd:ee:ff, but a valid MAC address should use consistent separators through...
X Description: Previously, the MAC address validator would accept invalid MAC addresses that mixed different separators, such as aa:bb-cc-dd:ee:ff, but a valid MAC address should use consistent separators through...
Opengraph URL: https://github.com/python-validators/validators/pull/432
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:ba64ea77-22f6-e96b-8fd6-7d7168cc1de0 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | BCC0:39CC35:A8ABDE:E8AEAC:698E122D |
| html-safe-nonce | d092e764f1f816e77335ee28a0129119595343b176ca7d204cebcb05cd4916c4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQ0MwOjM5Q0MzNTpBOEFCREU6RThBRUFDOjY5OEUxMjJEIiwidmlzaXRvcl9pZCI6IjkwMzU1NjQ5OTg2NTExNTQ5ODkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | fc0cba267a2b7ae8127e5b539c8ad7ee4e9b5309f20c3624bfbefe9cd167aaae |
| hovercard-subject-tag | pull_request:2677505116 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,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/python-validators/validators/pull/432/checks |
| twitter:image | https://avatars.githubusercontent.com/u/13711017?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/13711017?s=400&v=4 |
| og:image:alt | Previously, the MAC address validator would accept invalid MAC addresses that mixed different separators, such as aa:bb-cc-dd:ee:ff, but a valid MAC address should use consistent separators through... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | fdf74c91c9ac187cc5cd7b14d4af2d6ef3e18136d002f5d36253f8538e97ee4c |
| 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 full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 1a5a3e7bbfb3486980e340c242368684156fba87 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width