# The Core Rule Set's exclusions for Gitea, which servewaf loads from # SWWAF_CORE_RULE_SET_EXCLUSIONS_FILE. Each switches one rule off for the # Gitea fields or paths where it refused ordinary Gitea requests. Gitea # sends these in the query string: # - q: the text of every search; # - file, path, template, body and redirect_to: a file name, alone or in # JSON or a link; # - name, tag, rule_name and refSubUrl: a branch or tag name. # docs/gitea.md says how to add an exclusion. # Searches. # 930110: a search for ../ SecRuleUpdateTargetById 930110 "!ARGS:q" # 931100: a search for http://127.0.0.1:8080 SecRuleUpdateTargetById 931100 "!ARGS:q" # 932140: a search for if (a == b) { SecRuleUpdateTargetById 932140 "!ARGS:q" # 932235: a search for `make check` SecRuleUpdateTargetById 932235 "!ARGS:q" # 932250: a search for ls -la SecRuleUpdateTargetById 932250 "!ARGS:q" # 932380: a search for `whoami` SecRuleUpdateTargetById 932380 "!ARGS:q" # 933135: a search for ${VAR} SecRuleUpdateTargetById 933135 "!ARGS:q" # 934110: a search for http://127.0.0.1:8080 SecRuleUpdateTargetById 934110 "!ARGS:q" # 941100: a search for