---
meta:
  author: "csanders-git"
  enabled: true
  name: "920190.yaml"
  description: "Description"
tests:
  - test_title: 920190-1
    stages:
      - stage:
          input:
            dest_addr: "127.0.0.1"
            method: "GET"
            port: 80
            headers:
              User-Agent: "ModSecurity CRS 3 Tests"
              Host: "localhost"
              Range: "0-1"
            protocol: "http"
            uri: "/"
          output:
            no_log_contains: id "920190"
  - test_title: 920190-2
    desc: 'Range: Invalid Last Byte Value (920190) from old modsec regressions'
    stages:
      - stage:
          input:
            dest_addr: 127.0.0.1
            headers:
              Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
              Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
              Accept-Language: en-us,en;q=0.5
              Connection: close
              Host: localhost
              Keep-Alive: '300'
              Proxy-Connection: keep-alive
              Range: bytes=0-,5-0,5-1,5-2,5-3,5-4,5-5,5-6,5-7,5-8,5-9,5-10,5-11,5-12,5-13,5-14,5-15
              User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv
            method: GET
            port: 80
            uri: /
            version: HTTP/1.1
          output:
            log_contains: id "920190"
