Ignore:
Timestamp:
2010-09-28T18:35:06+13:00 (14 years ago)
Author:
ak19
Message:
  1. Undoing commit of 22934 where decode_commas was called on stem and fold comma separated list: previously separated due to url-encoding of commas. Now that the problem has been fixed at the source, the decode_commas hack is no longer necessary. 2. Commas in stem and fold are no longer url-encoded because the multiple_value field of the continuously-reused struct arg_ainfo is always set back to the default false after ever being set to true. So it no longer subtly stays at true to affect Greenstone functioning in unforeseen ways (such as suddenly and unnecessarily URL-encoding commas where this is not wanted).
File:
1 edited

Legend:

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

    r18460 r22984  
    4646  arg_ainfo.longname = "translation target language code";
    4747  arg_ainfo.multiplechar = true;
     48  arg_ainfo.multiplevalue = false;
    4849  arg_ainfo.defaultstatus = cgiarginfo::weak;
    4950  arg_ainfo.savedarginfo = cgiarginfo::must;
     
    5354  arg_ainfo.longname = "translation file key";
    5455  arg_ainfo.multiplechar = true;
     56  arg_ainfo.multiplevalue = false;
    5557  arg_ainfo.defaultstatus = cgiarginfo::weak;
    5658  arg_ainfo.savedarginfo = cgiarginfo::must;
     
    6062  arg_ainfo.longname = "number of chunks per page";
    6163  arg_ainfo.multiplechar = true;
     64  arg_ainfo.multiplevalue = false;
    6265  arg_ainfo.defaultstatus = cgiarginfo::weak;
    6366  arg_ainfo.argdefault = "1";
Note: See TracChangeset for help on using the changeset viewer.