omdbapi / OMDb-API

The Open Movie Database Bug Tracking
422 stars 21 forks source link

Unparseable JSON response (double quotes characters are not escaped) #258

Open apibugsreporting opened 2 years ago

apibugsreporting commented 2 years ago

When making the following request: GET https://omdbapi.com/?r=json&i=one%20space&page=76

The API returns the following response:

{"Response":"False","Error":"Conversion from string "one space" to type 'Double' is not valid."}

Which I guess is supposed to be JSON, but since the double quotes surrounding the one space string are not escaped, the response is unparseable.

A test report revealing this issue is available at: http://apitesting.ddns.net/fse2022/restest/target/allure-reports/omdb__r_cbt_stateful/#behaviors/b1a8273437954620fa374b796ffaacdd/cb2ee5c85b6bed2c/

apibugsreporting commented 2 years ago

I'm sorry, I just noticed this issue seems to be duplicated (#239).