Changeset 464


Ignore:
Timestamp:
02/22/06 00:21:22 (7 years ago)
Author:
anarcat
Message:

[project @ alternc: changeset 2004-11-11 18:14:17 by anonymous]
ajout d'un autre escape que j'avais oublie dans le dernier commit

Original author: anonymous
Date: 2004-11-11 18:14:17

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bureau/class/m_mail.php

    r463 r464  
    11<?php 
    22/* 
    3  $Id: m_mail.php,v 1.23 2004/11/11 18:10:04 anonymous Exp $ 
     3 $Id: m_mail.php,v 1.24 2004/11/11 18:14:17 anonymous Exp $ 
    44 ---------------------------------------------------------------------- 
    55 LICENSE 
     
    462462    $m=substr($mail,0,1); 
    463463    $gecos=$mail; 
    464     $db->query("UPDATE mail_users SET password='"._md5cr($pass)."' WHERE ( alias='". $mail."_".$dom."' OR alias='". $mail."@".$dom."' ) AND uid='$cuid';"); 
     464    $db->query("UPDATE mail_users SET password='"._md5cr($pass)."' WHERE ( alias='". $mail.'\_'.$dom."' OR alias='". $mail."@".$dom."' ) AND uid='$cuid';"); 
    465465    exec("/bin/echo ".escapeshellarg($pass)." | /usr/sbin/saslpasswd -u postfix -p ".$mail."@".$dom); 
    466466    exec("/bin/echo ".escapeshellarg($pass)." | /usr/sbin/saslpasswd -u postfix -p ".$mail."_".$dom); 
Note: See TracChangeset for help on using the changeset viewer.