Sophie

Sophie

distrib > Scientific%20Linux > 5x > x86_64 > by-pkgid > 990dbf0cedc5e7df39833eaf1ef25821 > files > 14

squirrelmail-1.4.8-5.el5_7.13.src.rpm

--- branches/SM-1_4-STABLE/squirrelmail/functions/imap_general.php	2009/05/11 22:08:25	13673
+++ branches/SM-1_4-STABLE/squirrelmail/functions/imap_general.php	2009/05/11 22:17:35	13674
@@ -973,7 +973,8 @@
  * LDAP whatever way to find the users IMAP server.
  */
 function map_yp_alias($username) {
+   $escusername = escapeshellarg($username);
+   $yp = `ypmatch $escusername aliases`;
-   $yp = `ypmatch $username aliases`;
    return chop(substr($yp, strlen($username)+1));
 }