Changeset 604

Show
Ignore:
Timestamp:
05/29/07 01:13:29 (2 years ago)
Author:
raphael
Message:

Fixed #313: typo in gui/include/sql.php
Fixed #324: typo in gui/client/update_hp.php
Fixed #278: using get*nam() with UID/GID instead user/group names in setup

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/CHANGELOG

    r601 r604  
    1010|               * gui: disable stats-alias in client menu         | 
    1111\_________________________________________________________________/ 
     12 
     132007-05-28 Raphael Geissert 
     14        - GUI 
     15                * Fixed #313: typo in gui/include/sql.php 
     16                * Fixed #324: typo in gui/client/update_hp.php 
     17        - SETUP 
     18                * Fixed #278: using get*nam() with UID/GID instead user/group names 
    1219 
    13202007-05-24 Raphael Geissert 
  • trunk/engine/setup/ispcp-setup

    r601 r604  
    917917        my ($vuuid, $vugid) = (undef, undef); 
    918918 
    919         @gdata = getgrnam($mgid); 
    920         @udata = getpwnam($muid); 
     919        @gdata = getgrnam($prefix.$mgid); 
     920        @udata = getpwnam($prefix.$muid); 
    921921 
    922922        if (scalar(@gdata) == 0) { # we have not this one group data; 
  • trunk/gui/client/update_hp.php

    r512 r604  
    313313 
    314314 
    315         $form = $rs -> fields['user_mail']; 
     315        $from = $rs -> fields['user_mail']; 
    316316 
    317317        $subject = "[ISPCP OrderPanel] - You have update order"; 
  • trunk/gui/include/sql.php

    r596 r604  
    111111            } else { 
    112112                foreach($value as $skey=>$svalue) { 
    113                     if (!is_array($sval)) { 
     113                    if (!is_array($svalue)) { 
    114114                        if (match_sqlinjection($svalue, $matches)) { 
    115115                            $message = "Possible SQL injection detected: $skey=>$svalue <b>${matches[0]}</b>. Script terminated.";