Ignore:
Timestamp:
2014-03-14T22:46:25+13:00 (10 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.

File:
1 edited

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;
Note: See TracChangeset for help on using the changeset viewer.