Changeset 6280

Show
Ignore:
Timestamp:
08/04/08 15:00:16 (2 months ago)
Author:
p_lindheimer
Message:

fixes #2988 fix potential SQL injection please test

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/branches/2.4/recordings/functions.inc.php

    r5335 r6280  
    104104                $fname = $filename; 
    105105        } 
     106        $displayname = addslashes($displayname); 
    106107        sql("INSERT INTO recordings values ('', '$displayname', '$fname', 'No long description available')"); 
    107108        return true; 
     
    112113 
    113114        // Update the descriptive fields 
    114         $results = sql("UPDATE recordings SET displayname = \"$rname\", description = \"$descr\" WHERE id = \"$id\""); 
     115        $results = sql("UPDATE recordings SET displayname = '".addslashes($rname)."', description = '".addslashes($descr)."' WHERE id = \"$id\""); 
    115116         
    116117        // Build the file list from _REQUEST 
  • modules/branches/2.4/recordings/module.xml

    r5810 r6280  
    22        <rawname>recordings</rawname> 
    33        <name>Recordings</name> 
    4         <version>3.3.6.2</version> 
     4        <version>3.3.6.3</version> 
    55        <candisable>no</candisable> 
    66        <canuninstall>no</canuninstall> 
     
    99        <description>Creates and manages system recordings, used by many other modules (eg, IVR).</description> 
    1010        <changelog> 
     11                *3.3.6.3* #2988 fix potential SQL injection 
    1112                *3.3.6.2* #2604, #2843 fix mal-formed html tags, Russian Translation 
    1213                *3.3.6.1* #2591, enhance code so bad directory copy errors are reported 
Donate



Support
Download
Develop
Forums
News
Documentation
Paid Support
About

Paid Ads