Closed juhangsin closed 3 years ago
Validating this is a good idea, but! We actually want to support all kinds of URIs, and not just mailto:
. For example, a user might sign up with a tel:
instead, or their blog (using http
).
Maybe this can be changed to strictly validate that the identity is an absolute URI?
new PR this should check if it starts with mailto: tel: https:// http://
https://github.com/curveball/a12n-server/issues/295
this handles when
mailto:
isn't included for type user during POST forcreate-user
& PUT for '/user/:userId/edit` process.