fix for anyone having trouble with passwords with a $ in them

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

fix for anyone having trouble with passwords with a $ in them

Chuck Cochems
in config/functions.php at line 10

     foreach ($_POST as $postkey => $postval)
     {
         $_POST[$postkey] = preg_replace('/[\'";$%]/','',$postval);
     }

replace with

     foreach ($_POST as $postkey => $postval)
     {
         if (($postkey <> "crypt") && ($postkey <> "clear"))
         $_POST[$postkey] = preg_replace('/[\'";$%]/','',$postval);
     }

this is for exim4u current stable.



_______________________________________________
users mailing list
[hidden email]
https://exim4u.org/mailman/listinfo/users