{"action":"created","issue":{"url":"https://api.github.com/repos/SpiderLabs/owasp-modsecurity-crs/issues/403","repository_url":"https://api.github.com/repos/SpiderLabs/owasp-modsecurity-crs","labels_url":"https://api.github.com/repos/SpiderLabs/owasp-modsecurity-crs/issues/403/labels{/name}","comments_url":"https://api.github.com/repos/SpiderLabs/owasp-modsecurity-crs/issues/403/comments","events_url":"https://api.github.com/repos/SpiderLabs/owasp-modsecurity-crs/issues/403/events","html_url":"https://github.com/SpiderLabs/owasp-modsecurity-crs/pull/403","id":165395336,"number":403,"title":"Rule 912030 (DoS protection): replace @rx with @within","user":{"login":"dune73","id":618722,"avatar_url":"https://avatars.githubusercontent.com/u/618722?v=3","gravatar_id":"","url":"https://api.github.com/users/dune73","html_url":"https://github.com/dune73","followers_url":"https://api.github.com/users/dune73/followers","following_url":"https://api.github.com/users/dune73/following{/other_user}","gists_url":"https://api.github.com/users/dune73/gists{/gist_id}","starred_url":"https://api.github.com/users/dune73/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dune73/subscriptions","organizations_url":"https://api.github.com/users/dune73/orgs","repos_url":"https://api.github.com/users/dune73/repos","events_url":"https://api.github.com/users/dune73/events{/privacy}","received_events_url":"https://api.github.com/users/dune73/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-07-13T18:55:50Z","updated_at":"2016-07-13T20:12:28Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/SpiderLabs/owasp-modsecurity-crs/pulls/403","html_url":"https://github.com/SpiderLabs/owasp-modsecurity-crs/pull/403","diff_url":"https://github.com/SpiderLabs/owasp-modsecurity-crs/pull/403.diff","patch_url":"https://github.com/SpiderLabs/owasp-modsecurity-crs/pull/403.patch"},"body":"As suggested by @csanders-git in PR #390.\r\n\r\nDesigned `@within` construct based on rule 920440."},"comment":{"url":"https://api.github.com/repos/SpiderLabs/owasp-modsecurity-crs/issues/comments/232472443","html_url":"https://github.com/SpiderLabs/owasp-modsecurity-crs/pull/403#issuecomment-232472443","issue_url":"https://api.github.com/repos/SpiderLabs/owasp-modsecurity-crs/issues/403","id":232472443,"user":{"login":"dune73","id":618722,"avatar_url":"https://avatars.githubusercontent.com/u/618722?v=3","gravatar_id":"","url":"https://api.github.com/users/dune73","html_url":"https://github.com/dune73","followers_url":"https://api.github.com/users/dune73/followers","following_url":"https://api.github.com/users/dune73/following{/other_user}","gists_url":"https://api.github.com/users/dune73/gists{/gist_id}","starred_url":"https://api.github.com/users/dune73/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dune73/subscriptions","organizations_url":"https://api.github.com/users/dune73/orgs","repos_url":"https://api.github.com/users/dune73/repos","events_url":"https://api.github.com/users/dune73/events{/privacy}","received_events_url":"https://api.github.com/users/dune73/received_events","type":"User","site_admin":false},"created_at":"2016-07-13T20:12:28Z","updated_at":"2016-07-13T20:12:28Z","body":"Having done the PR I like the way `tx.restricted_extensions` and `tx.static_resources` use the same style now.\r\n\r\nSpeaking of overhead, I think `@within + variable` should still be faster then `@rx`. What we could do, though, is move the  `setvar:tx.extension=.%{tx.1}/` from 912030 and 920440 into `modsecurity_crs_10_setup.conf.example`. That way, we would actually reduce complexity and reuse an existing variable."}}
{"actor":{"display_login":"dune73"}}