path: tests/fixtures/llhttp/request/query-url-with-vertical-bar-character.yml
name: Query URL With Vertical Bar Character
checked: true
source:
  path: test/request/uri.md
  line: 98
meta:
  type: request
input:
- GET /test.cgi?query=| HTTP/1.1
- ''
- ''
llhttp:
- off=0 message begin
- off=0 len=3 span[method]="GET"
- off=3 method complete
- off=4 len=17 span[url]="/test.cgi?query=|"
- off=22 url complete
- off=22 len=4 span[protocol]="HTTP"
- off=26 protocol complete
- off=27 len=3 span[version]="1.1"
- off=30 version complete
- off=34 headers complete method=1 v=1/1 flags=0 content_length=0
- off=34 message complete
output:
- offset: 0
  type: request
  payload: null
- offset: 0
  type: begin
  payload: null
- offset: 0
  type: error
  payload:
    code: UNEXPECTED_CHARACTER
    description: Invalid URL character
