Example: ``` const response = await superRequest('/update-my-email', { method: 'PUT', setCookies }).send({ email: unusedEmailOne }); ``` We should encode entities like emails, or other values that can have non-standard / out-of-spec characters with base64. We do this here as an example: https://github.com/freeCodeCamp/freeCodeCamp/blob/a23a92fb8a2248da7d52ae5f330cd5a520c4de36/api-server/src/common/utils/auth.js#L73-L80 This issue should track doing so across all the endpoints and not just email.
Activity
ojeytonwilliams commentedon Oct 4, 2023
@raisedadead could you share one or two email addresses that need this encoding? Just so we can incorporate them in our tests.
nadine-krista commentedon Oct 5, 2023
Hello @raisedadead: Can you assign me something related to UI? I would like to contribute
mohdafzal11 commentedon Oct 5, 2023
Hello @raisedadead :Can you assign me this issue
camperbot commentedon Oct 5, 2023
Please stop and read our contributing guide.
https://contribute.freecodecamp.org/
This issue is not marked as ready for contributions or help wanted. Also, we do not assign issues.
Uwanaaa commentedon Oct 20, 2023
Hey @raisedadead can I be assigned this issue?