Title: validators.url hang · Issue #65 · python-validators/validators · GitHub
Open Graph Title: validators.url hang · Issue #65 · python-validators/validators
X Title: validators.url hang · Issue #65 · python-validators/validators
Description: When validating the following url, the call gets blocked and CPU spikes to 100% $ pip freeze | grep validator validators==0.12.0 $ python Python 2.7.10 (default, Feb 7 2017, 00:08:15) [GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.3...
Open Graph Description: When validating the following url, the call gets blocked and CPU spikes to 100% $ pip freeze | grep validator validators==0.12.0 $ python Python 2.7.10 (default, Feb 7 2017, 00:08:15) [GCC 4.2.1 Co...
X Description: When validating the following url, the call gets blocked and CPU spikes to 100% $ pip freeze | grep validator validators==0.12.0 $ python Python 2.7.10 (default, Feb 7 2017, 00:08:15) [GCC 4.2.1 Co...
Opengraph URL: https://github.com/python-validators/validators/issues/65
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"validators.url hang ","articleBody":"When validating the following url, the call gets blocked and CPU spikes to 100%\r\n\r\n```console\r\n$ pip freeze | grep validator\r\nvalidators==0.12.0\r\n$ python\r\nPython 2.7.10 (default, Feb 7 2017, 00:08:15)\r\n[GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.34)] on darwin\r\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\r\n\u003e\u003e\u003e import validators\r\n\u003e\u003e\u003e validators.url('http://172.20.201.135-10.10.10.1656172.20.11.80-10.10.10.1746172.16.9.13-192.168.17.68610.10.10.226-192.168.17.64610.10.10.226-192.168.17.63610.10.10.226-192.168.17.62610.10.10.226-192.168.17.61610.10.10.226-192.168.17.60610.10.10.226-192.168.17.59610.10.10.226-192.168.17.58610.10.10.226-192.168.17.57610.10.10.226-192.168.17.56610.10.10.226-192.168.17.55610.10.10.226-192.168.17.54610.10.10.226-192.168.17.53610.10.10.226-192.168.17.52610.10.10.226-192.168.17.51610.10.10.195-10.10.10.2610.10.10.194-192.168.17.685172.20.11.52-10.10.10.195510.10.10.226-192.168.17.50510.10.10.186-172.20.11.1510.10.10.165-198.41.0.54192.168.84.1-192.168.17.684192.168.222.1-192.168.17.684172.20.11.52-10.10.10.174410.10.10.232-172.20.201.198410.10.10.228-172.20.201.1983192.168.17.135-10.10.10.1423192.168.17.135-10.10.10.122310.10.10.224-172.20.201.198310.10.10.195-172.20.11.1310.10.10.160-172.20.201.198310.10.10.142-192.168.17.1352192.168.22.207-10.10.10.2242192.168.17.66-10.10.10.1122192.168.17.135-10.10.10.1122192.168.17.129-10.10.10.1122172.20.201.198-10.10.10.2282172.20.201.198-10.10.10.2242172.20.201.1-10.10.10.1652172.20.11.2-10.10.10.1412172.16.8.229-12.162.170.196210.10.10.212-192.168.22.133')\r\n```\r\n\r\nControl+C breaking the execution shows the following stacks:\r\n```python\r\nTraceback (most recent call last):\r\n File \"\u003cstdin\u003e\", line 1, in \u003cmodule\u003e\r\n File \"\u003cdecorator-gen-18\u003e\", line 2, in url\r\n File \"/Users/librah/virtualenv/w4cs/lib/python2.7/site-packages/validators/utils.py\", line 78, in wrapper\r\n value = func(*args, **kwargs)\r\n File \"/Users/librah/virtualenv/w4cs/lib/python2.7/site-packages/validators/url.py\", line 108, in url\r\n result = pattern.match(value)\r\nKeyboardInterrupt\r\n```","author":{"url":"https://github.com/librah","@type":"Person","name":"librah"},"datePublished":"2017-09-23T14:38:03.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/65/validators/issues/65"}
| 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:659a3ba5-e6dd-0d9e-8da8-d26c9a95126e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BD40:32668C:ADE1B:EFF09:698EF712 |
| html-safe-nonce | 1eac4ad5c1ab30d7a04a0c5b78fd17c9924636109832e9cc531d41e8ab45d199 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRDQwOjMyNjY4QzpBREUxQjpFRkYwOTo2OThFRjcxMiIsInZpc2l0b3JfaWQiOiIxMTc5MzMwNDkxNDgxNzgyMDM0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 323af32608c1141485a36bee79ce570b52984e27ac9f5702bac38b01a33fdff2 |
| hovercard-subject-tag | issue:260012311 |
| 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/65/issue_layout |
| twitter:image | https://opengraph.githubassets.com/94a0e93e39dedbe14ec410841798ab2ace475007de3554272426dd4fae2fad6c/python-validators/validators/issues/65 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/94a0e93e39dedbe14ec410841798ab2ace475007de3554272426dd4fae2fad6c/python-validators/validators/issues/65 |
| og:image:alt | When validating the following url, the call gets blocked and CPU spikes to 100% $ pip freeze | grep validator validators==0.12.0 $ python Python 2.7.10 (default, Feb 7 2017, 00:08:15) [GCC 4.2.1 Co... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | librah |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7f7bf82d8907f81525d95af82e60354b419d083df9534c8631d06bb9c0bf07ac |
| 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 | bc36007ff5167349dcfee9a75c7fa7184ab272c4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width