matusf / openapi-fuzzer

Black-box fuzzer that fuzzes APIs based on OpenAPI specification. Find bugs for free!
GNU Affero General Public License v3.0
526 stars 22 forks source link

Error: unable to send request: Bad Header #30

Closed hcrudolph closed 12 months ago

hcrudolph commented 12 months ago

Hi there, first off, thanks a bunch for this great project!

When building the latest version from source and running it against the API under test, I get the following error:

METHOD  PATH                                           STATUS   MEAN (μs) STD.DEV. MIN (μs)   MAX (μs)
Error: unable to send request: Bad Header: invalid header 'Accept-Encoding: ùw𑐲ㅯȺ`%È🅓ᅲ`C&K$ଲWব^𐳝$x"'hr<.¥'

Notably, this does not happen with the older v0.1.3 on crates.io

matusf commented 12 months ago

Hi, thanks for the report. Could you please attach a minimal version of the specification where this happens?

Note for self:

hcrudolph commented 12 months ago

The specification where I get the particular error above is this one: https://github.com/jdegre/5GC_APIs/blob/Rel-18/TS29510_Nnrf_NFDiscovery.yaml

Before testing, I've resolved all the external references and put the result through a linter to confirm its compliance.