KissPeter / APIFuzzer

Fuzz test your application using your OpenAPI or Swagger API definition without coding
GNU General Public License v3.0
428 stars 69 forks source link

Correct headers and path variables parsing #5

Closed LyashenkoGS closed 6 years ago

LyashenkoGS commented 6 years ago

Actual: (provided by wireshark)

GET /product/show/%7Bid%7D?someOptionalHeader=asd&id=l%D7x%26%B5%B8%C86%19%D4q%98 HTTP/1.1
Host: localhost:8080
Connection: keep-alive
Accept-Encoding: gzip, deflate
Accept: */*
User-Agent: python-requests/2.18.4

How to reproduce: Use https://github.com/LyashenkoGS/springboot_swagger_example/commit/13636377d2074755816f8fa1152c962ceb5e5d07 Build, run, export swagger.json according to the README.md

KissPeter commented 6 years ago

I've made some improvements on this area, could you please check it?

LyashenkoGS commented 6 years ago

Works fine in 9988388338f0e6116b4d1ec1d5acbb2a208ab28f