$password = $this->request->getPost('password');
$email        = $this->request->getPost('email', 'email');
$address   = $this->request->getPost('address');
/* validation goes here */
....
$user = new User();
$user->email    = $email;
$user->password = $this->security->hash($password);
$user->address = $address;
$user->save();- user->password should be safe because of hash applied
- user->email should be safe because of email filter applied
Is it safe to save $adress in db (mongo) withtout additional sanitizing/filtering?
thanks