{"action":"created","issue":{"url":"https://api.github.com/repos/samclarke/robots-parser/issues/12","repository_url":"https://api.github.com/repos/samclarke/robots-parser","labels_url":"https://api.github.com/repos/samclarke/robots-parser/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/samclarke/robots-parser/issues/12/comments","events_url":"https://api.github.com/repos/samclarke/robots-parser/issues/12/events","html_url":"https://github.com/samclarke/robots-parser/issues/12","id":375151294,"node_id":"MDU6SXNzdWUzNzUxNTEyOTQ=","number":12,"title":"redos vulnerability","user":{"login":"andeanfog","id":40580854,"node_id":"MDQ6VXNlcjQwNTgwODU0","avatar_url":"https://avatars3.githubusercontent.com/u/40580854?v=4","gravatar_id":"","url":"https://api.github.com/users/andeanfog","html_url":"https://github.com/andeanfog","followers_url":"https://api.github.com/users/andeanfog/followers","following_url":"https://api.github.com/users/andeanfog/following{/other_user}","gists_url":"https://api.github.com/users/andeanfog/gists{/gist_id}","starred_url":"https://api.github.com/users/andeanfog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andeanfog/subscriptions","organizations_url":"https://api.github.com/users/andeanfog/orgs","repos_url":"https://api.github.com/users/andeanfog/repos","events_url":"https://api.github.com/users/andeanfog/events{/privacy}","received_events_url":"https://api.github.com/users/andeanfog/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-29T18:15:49Z","updated_at":"2018-10-29T18:18:38Z","closed_at":null,"author_association":"NONE","body":"## Repro steps\r\n```javascript\r\nconst robotsParser = require('robots-parser');\r\nconst r = robotsParser('https://localhost/robots.txt', [\r\n  'User-agent: * ',\r\n  'Allow: **************************.js*',\r\n].join('\\n'));\r\n\r\nr.isAllowed('https://localhost/index.html', 'bot name');\r\n```\r\n\r\nThis takes a long time to parse.\r\nAdding more expressions or making the URL longer makes it take more time as well."},"comment":{"url":"https://api.github.com/repos/samclarke/robots-parser/issues/comments/434022900","html_url":"https://github.com/samclarke/robots-parser/issues/12#issuecomment-434022900","issue_url":"https://api.github.com/repos/samclarke/robots-parser/issues/12","id":434022900,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNDAyMjkwMA==","user":{"login":"andeanfog","id":40580854,"node_id":"MDQ6VXNlcjQwNTgwODU0","avatar_url":"https://avatars3.githubusercontent.com/u/40580854?v=4","gravatar_id":"","url":"https://api.github.com/users/andeanfog","html_url":"https://github.com/andeanfog","followers_url":"https://api.github.com/users/andeanfog/followers","following_url":"https://api.github.com/users/andeanfog/following{/other_user}","gists_url":"https://api.github.com/users/andeanfog/gists{/gist_id}","starred_url":"https://api.github.com/users/andeanfog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andeanfog/subscriptions","organizations_url":"https://api.github.com/users/andeanfog/orgs","repos_url":"https://api.github.com/users/andeanfog/repos","events_url":"https://api.github.com/users/andeanfog/events{/privacy}","received_events_url":"https://api.github.com/users/andeanfog/received_events","type":"User","site_admin":false},"created_at":"2018-10-29T18:18:38Z","updated_at":"2018-10-29T18:18:38Z","author_association":"NONE","body":"Workaround is to collapse sequences of consecutive asterisks into one character."}}
{"actor":{"display_login":"andeanfog"}}