Skip to content
This repository has been archived by the owner on Nov 8, 2024. It is now read-only.

\n is appended to the value of last parameter #432

Closed
lippea opened this issue Apr 4, 2016 · 3 comments
Closed

\n is appended to the value of last parameter #432

lippea opened this issue Apr 4, 2016 · 3 comments

Comments

@lippea
Copy link

lippea commented Apr 4, 2016

When I send following request, the Email value received by the application is actually "[email protected]\n". "\n" is appended to the value and hence the request is rejected because it's invalid email format.

+ Request (application/x-www-form-urlencoded; charset=utf-8)

    + Body

            firstName=a&lastName=b&[email protected]

+ Response 200 (application/json; charset=utf-8)

    OK
@honzajavorek
Copy link
Contributor

Thanks for reporting this! Similar bug is already reported many times already:

The only difference is that the old bug is being usually reported with text/plain content type and you use application/x-www-form-urlencoded. I'll make sure this thing gets higher in our priorities 😓

@honzajavorek
Copy link
Contributor

This is still an issue, but I decided to close duplicates.

@honzajavorek
Copy link
Contributor

I'd like to address the problem. I added a comment explaining the situation: #67 (comment) If you have any ideas, I'd be very glad to discuss possible solutions.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants