Please See Why Not Allow Special Characters In a Password on Security.
Several websites I've come across limit the allowed special characters for a password. My thought was, it should all be hashed anyway so why does it matter?
Is there an actual security reason to restrict this?
Example error:
The password needs to be at least 4 characters.
Valid characters are: letters, numbers and the following symbols: #$%&!?@.
-_^[]{}'"~;:<>/\*are all not allowed, yet very sane options even in the ASCII range. I mean, if you're worried about character encoding I can see you'd restrict€©‘«»Ñé何and things like that. – Beanow Mar 20 at 12:10^is especially problematic, for it is a dead key on only some keyboards. This really belongs to security.se – fgrieu Mar 20 at 13:43