Show
Ignore:
Timestamp:
07.04.2016 13:56:13 (4 years ago)
Author:
kjdon
Message:

metadata values might have special chars in them, so we must xml_safe the value before adding to metadata.xml

Files:
1 modified

Legend:

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

    r30373 r30466  
    822822                metadata_file += args_suffix; 
    823823                metadata_file += "\">"; 
    824                 metadata_file += mdvalues[i]; 
     824                metadata_file += xml_safe(mdvalues[i]); 
    825825                metadata_file += "</Metadata>\n"; 
    826826