-
Notifications
You must be signed in to change notification settings - Fork 214
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid character in message #26
Comments
thanks for reporting. |
@junaidk seems like an encoding problem. can you please paste the body you're using here? |
this is the message body |
related to encoding by xmlbuilder in https://github.com/Mashape/mockbin/blob/master/src/middleware/negotiate-content.js#L49 My use case was emojis, althought it was valid json it would throw on this line. According to the module author it can be allowed by adding the I tested with the string above and it now doesn't throw invalid and renders fine. oozcitak/xmlbuilder-js#98 Pull request in #40 |
thanks @stanzheng |
np. great small tool for my prototyping. this bin view use to crash on render but after applying the fix it works just fine. http://mockbin-stanzheng.herokuapp.com/bin/02617471-83e0-4243-b5d7-43709197e3ad/log#entry-99 |
if there are some invalid characters in request body, a page with stack trace opens like at this url and and It is impossible to go back to Bin view to view other requests.
Opening bin url displays a blank page.
The text was updated successfully, but these errors were encountered: