Changeset 6743


Ignore:
Timestamp:
03/14/10 06:52:53 (2 years ago)
Author:
WillNorris
Message:

Item1322: ARG, i didn't test this right, try again...
prevent taint issue on certain combinations of perl/gd/cpan

Location:
trunk/ChartPlugin/lib/Foswiki/Plugins
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ChartPlugin/lib/Foswiki/Plugins/ChartPlugin.pm

    r6742 r6743  
    9595        } 
    9696    } 
    97  
    98     # http://foswiki.org/Tasks/Item1322 - prevent taint issue on certain combinations of perl/gd/cpan 
    99     gdBrushed; gdDashSize; gdMaxColors; gdStyled; gdStyledBrushed; gdTiled; 
    100     gdTransparent; gdAntiAliased; gdArc; gdChord; gdPie; gdNoFill; gdEdged; 
    101     gdTinyFont; gdSmallFont; gdMediumBoldFont; gdLargeFont; gdGiantFont; gdAlphaMax; gdAlphaOpaque; gdAlphaTransparent; 
    10297 
    10398    # Get default chart type 
  • trunk/ChartPlugin/lib/Foswiki/Plugins/ChartPlugin/Chart.pm

    r6740 r6743  
    170170use Exporter; 
    171171use GD; 
     172# http://foswiki.org/Tasks/Item1322 - prevent taint issue on  
     173gdBrushed; gdDashSize; gdMaxColors; gdStyled; gdStyledBrushed; gdTiled; gdTransparent; gdAntiAliased;  
     174gdArc; gdChord; gdPie; gdNoFill; gdEdged;  
     175gdTinyFont; gdSmallFont; gdMediumBoldFont; gdLargeFont; gdGiantFont; gdAlphaMax; gdAlphaOpaque; gdAlphaTransparent; 
    172176use POSIX; 
    173177@ISA = (); 
Note: See TracChangeset for help on using the changeset viewer.