-
Notifications
You must be signed in to change notification settings - Fork 18
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
trim Mailadress or URL when it contains spacing #393
Comments
@wellemut even though I trim the emails and urls on the front end still backend needs to verify and trim the payload itself, otherwise third parties will be able to send incorrect data to ofdb. what do you think? should I do that to save time or wait for the right solution on the backend? |
@uklotzde what do you think is better? |
The backend should be responsible for normalizing data and for any mandatory data validation before storing data persistently. Only valid and normalized data should get into the database. |
Ok, great, |
(So far error an unnessesary spacing is only warned, when before and afterwards a letter is following)
Alternatively: Automatically delte all spacings in the field of URL and Mail
#134
The text was updated successfully, but these errors were encountered: