---
meta:
  author: csanders-git
  description: Tests functionality of stricter sibling 933131
  enabled: true
  name: 933131.yaml
tests:
  - test_title: 933131-1
    desc: SERVER request URLEncoded
    stages:
      - stage:
          input:
            dest_addr: 127.0.0.1
            headers:
              Host: localhost
              User-Agent: ModSecurity CRS 3 Tests
            port: 80
            uri: /?x=$_%53ERVER['test'];
          output:
            no_log_contains: id "933131"
  - test_title: 933131-2
    desc: SERVER request URLEncoded
    stages:
      - stage:
          input:
            dest_addr: 127.0.0.1
            headers:
              Host: localhost
              User-Agent: ModSecurity CRS 3 Tests
            port: 80
            uri: /?%24_COOKIE=value;
          output:
            no_log_contains: id "933131"
  - test_title: 933131-3
    desc: SERVER index listed with obfuscated SERVER
    stages:
      - stage:
          input:
            dest_addr: 127.0.0.1
            headers:
              Host: localhost
              User-Agent: ModSecurity CRS 3 Tests
            port: 80
            uri: /?x=$_%53%20ERVER['REQUEST_URI'];
          output:
            log_contains: id "933131"
