-
Notifications
You must be signed in to change notification settings - Fork 917
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
SImpleBodyParser doesn't handle x-www-form-urlencoded properly #1277
Labels
Comments
This was referenced May 13, 2019
abeisgoat
added a commit
that referenced
this issue
May 13, 2019
abeisgoat
added a commit
that referenced
this issue
May 14, 2019
Fix is merged in, please re-open if you're still experiencing this once |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
UPDATE: - Just tested on 6.5.0 and there is no such bug. But on 6.9.2 I have this error
UPDATE2: - Just tested on 6.8.0 and there is no such bug. But on 6.9.2 I have this error
Function onRequest gives error when receiving data on local system and no error when deployed.
I have system which was working no problem but then I updated my firebase-tools.
![image](https://user-images.githubusercontent.com/18900210/57585455-3a50b000-750a-11e9-91b5-3adaee618615.png)
And now I cant test onRequest functions with my postman. When I send any data to it like
I have error UnhandledPromiseRejectionWarning.
But if I deploy this function and send this request to deployed function then there is no error.
[REQUIRED] Environment info
**firebase-tools: 5.9.2
**Platform: macOs
[REQUIRED] Test case
[REQUIRED] Steps to reproduce
firebase serve --only functions
postman send post request with Content-Type: application/x-www-form-urlencoded {name: john}
[REQUIRED] Expected behavior
print Body: name: john
print Hello from Firebase!
[REQUIRED] Actual behavior
The text was updated successfully, but these errors were encountered: