Using a password with invalid characters does not block registration
When creating a new user, the registration form does not block the process when setting a password containing one or more invalid characters.
The end result is that the newly registered user cannot log in while she received an email indicating a successful registration.