Show
Ignore:
Timestamp:
14.03.2014 22:46:25 (5 years ago)
Author:
ak19
Message:

Third commit for security, for ensuring cgiargs macros are websafe. This time all the changes to the runtime action classes.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/runtime-src/src/recpt/dynamicclassifieraction.cpp

    r22984 r28899  
    151151  if (cinfo->dynamic_classifiers.find(arg_dcl) == cinfo->dynamic_classifiers.end()) 
    152152  { 
    153     textout << outconvert << disp << "Error: Invalid dcl value \"" << arg_dcl << "\".\n"; 
     153    textout << outconvert << disp << "Error: Invalid dcl value \"" << encodeForHTML(arg_dcl) << "\".\n"; 
    154154    textout << outconvert << disp << "_dynamicclassifier:footer_\n"; 
    155155    return true;