I've noticed a problem in entering passwords in some sites. For example, my password is

abc123DEF*

If I type it directly in the text box, it will tell me there is an error. If I type it in notepad/address bar and Copy+Paste it, it works fine.

What is going on? Any ideas? Thank you.