02-09-2018, 09:03 PM 
		
	
	
		Hello!
I recently strumbled upon a problem concerning the Validate.php Class
A user wanted to use the character & in a password, but it wouldn't let the password validate.
Turns out the matching option converted one & to while the other remained a normal &
$value got converted to$source[$rule_value] remained &
hence the missmatch.
![[Image: bildschirmfoto2018-02hpqb5.png]](https://abload.de/img/bildschirmfoto2018-02hpqb5.png)
What would be a quick fix for this?
I would guess:
sanitize($source[$rule_value]);
	
	
	
	
I recently strumbled upon a problem concerning the Validate.php Class
A user wanted to use the character & in a password, but it wouldn't let the password validate.
Turns out the matching option converted one & to
Code:
& a m p ;$value got converted to
Code:
& a m p ;hence the missmatch.
![[Image: bildschirmfoto2018-02hpqb5.png]](https://abload.de/img/bildschirmfoto2018-02hpqb5.png)
What would be a quick fix for this?
I would guess:
sanitize($source[$rule_value]);

