XF 2.2 Blocking the "&" character in the password

This isn't possible without custom code.

Why on earth do you want to block that character?
If I find where I can do the custom code, I can, but I can't find that part. We have a software, we log in with xenforo api and the software does not work when there is an "&" character in the password part of the software. That's why I want to block this character completely.
 
If I find where I can do the custom code, I can, but I can't find that part. We have a software, we log in with xenforo api and the software does not work when there is an "&" character in the password part of the software. That's why I want to block this character completely.
Escape fields before adding to request.
 
Top Bottom