PlaceAVote / pav-api

This repository contains the Placeavote API.
0 stars 0 forks source link

https://api.placeavote.com/user/validate should be case insensitive. #98

Closed SudoPlz closed 8 years ago

SudoPlz commented 8 years ago

Assuming that the mail mail@placeavote.com exists in the backend.

The endpoint works well when I use mail@placeavote.com with a lowercase m .

If I call the /user/validate endpoint passing the address Mail@placeavote.com with a capital M then it responds 200 which is wrong, since that mail already exists.

I think that is a bug.