postmanlabs / postman-app-support

Postman is an API platform for building and using APIs. Postman simplifies each step of the API lifecycle and streamlines collaboration so you can create better APIs—faster.
https://www.postman.com
5.79k stars 839 forks source link

crashing on any put request where body is a binary file and authorisation is AWS signature #7508

Closed LouiseYau closed 4 years ago

LouiseYau commented 4 years ago

Describe the bug When a Put request is sent with a binary file as the request body, postman immediately crashes either before or just after response is received. (if response is reeived postman crashes about a second or less later not long enough to see any erorrs, however this happens for success responses too)

To Reproduce Steps to reproduce the behaviour:

  1. use put request with a request body as a binary file (eg a put request to an aws bucket or api accessed via aws api gateway)
  2. for authorisation select aws signature and enter your accesskey, secretkey, aws region, service name and session token
  3. attach a binary file as the body
  4. add any headers or parameters necessary for the call
  5. click send

Expected behavior success or error message received, file sent and postman dosen't crash

Screenshots No screenshots available as postman crashes before screenshots can be captured

App information (please complete the following information):

Additional context note that this postman doesn't crash when aws signature auth not used

vikiCoder commented 4 years ago

Hi @LouiseYau ,

Thanks for reporting the bug. We have identified the issue and we will be releasing the fix in the upcoming release of the Postman App.

For now, I am closing this issue as it is duplicate of the following issue: https://github.com/postmanlabs/postman-app-support/issues/7220