Title: fix(uri): replace `lstrip("mailto:")` with manual prefix removal by max-moser · Pull Request #418 · python-validators/validators · GitHub
Open Graph Title: fix(uri): replace `lstrip("mailto:")` with manual prefix removal by max-moser · Pull Request #418 · python-validators/validators
X Title: fix(uri): replace `lstrip("mailto:")` with manual prefix removal by max-moser · Pull Request #418 · python-validators/validators
Description: The use of lstrip() here was a bit too aggressive. For example: In [1]: "mailto:maximilian.moser@tuwien.ac.at".lstrip("mailto:") Out[1]: 'ximilian.moser@tuwien.ac.at' But: In [2]: "mailto:maximilian.moser@tuwien.ac.at".removeprefix("mailto:") Out[2]: 'maximilian.moser@tuwien.ac.at'
Open Graph Description: The use of lstrip() here was a bit too aggressive. For example: In [1]: "mailto:maximilian.moser@tuwien.ac.at".lstrip("mailto:") Out[1]: 'ximilian.moser@tuwien.ac.at' B...
X Description: The use of lstrip() here was a bit too aggressive. For example: In [1]: "mailto:maximilian.moser@tuwien.ac.at".lstrip("mailto:") Out[1]: 'ximilian.moser@...
Opengraph URL: https://github.com/python-validators/validators/pull/418
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:1476b4e4-0ead-f471-d6f6-37cc57871dcc |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8BBC:1C502C:29DC08:39750A:698DF231 |
| html-safe-nonce | fe4f17b379d902e205dc2354d338f447c693a4c5412547f68645208e571d98ac |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QkJDOjFDNTAyQzoyOURDMDg6Mzk3NTBBOjY5OERGMjMxIiwidmlzaXRvcl9pZCI6IjIxMTk0MDU0MTcwMzc0MjcyNDkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 4a24858ce67f2b208f5783a38bb249acc96c262ee43874e9dc2d8c3bdc7bbb8f |
| hovercard-subject-tag | pull_request:2401919366 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/418/files |
| twitter:image | https://avatars.githubusercontent.com/u/6437519?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/6437519?s=400&v=4 |
| og:image:alt | The use of lstrip() here was a bit too aggressive. For example: In [1]: "mailto:maximilian.moser@tuwien.ac.at".lstrip("mailto:") Out[1]: 'ximilian.moser@tuwien.ac.at' B... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | ae22ef6ad27c5aeb770c5acd314c5724055bb23a663877aafdaaa50ed317ba34 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | e545f5becd5b3ce9b429b68c3f994ad93c680ddb |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width