The following code is generated:
3616| $pwd = $password;
3617|
3618| if (preg_match('#.*^(?=.{8,20
3619| $_SESSION['scriptcase']['s_app_form_add_users']['contr_erro'] = 'off';
3620| }
3621| function dbgettemplate($shopid, $templateid, $parms)
the preg_match is from a library routine:
<?php
1|
2| function testPassword($password)
3| {
4| $pwd = $password;
5|
6| if (preg_match('#.*^(?=.{8,20})(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*\W).*$#', $pwd)){
7| return 1;
8| } else {
9| return -1;
10| }
11| }
12| ?>
This used to work well and must be introduced in one of the latest updates (line 3618). A serious error imho. Same issue if you change ’ to "