Show
Ignore:
Timestamp:
28.09.2010 18:35:06 (10 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).

Files:
1 modified

Legend:

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

    r22822 r22984  
    4646  arg_ainfo.longname = "action"; 
    4747  arg_ainfo.multiplechar = true; 
     48  arg_ainfo.multiplevalue = false; 
    4849  arg_ainfo.defaultstatus = cgiarginfo::weak; 
    4950  arg_ainfo.argdefault = "config"; 
     
    6263  arg_ainfo.longname = "config command"; 
    6364  arg_ainfo.multiplechar = true; 
     65  arg_ainfo.multiplevalue = false;   
    6466  arg_ainfo.defaultstatus = cgiarginfo::weak; 
    6567  arg_ainfo.argdefault = g_EmptyText;