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/extlinkaction.cpp

    r17410 r22984  
    4040  arg_ainfo.longname = "action";
    4141  arg_ainfo.multiplechar = true;
     42  arg_ainfo.multiplevalue = false;
    4243  arg_ainfo.defaultstatus = cgiarginfo::weak;
    4344  arg_ainfo.argdefault = "extlink";
     
    4849  arg_ainfo.longname = "external link preference";
    4950  arg_ainfo.multiplechar = true;
     51  arg_ainfo.multiplevalue = false;
    5052  arg_ainfo.defaultstatus = cgiarginfo::weak;
    5153  arg_ainfo.argdefault = "direct"; // changed from "prompt" - will now directly load external links instead of
     
    5759  arg_ainfo.longname = "document OID";
    5860  arg_ainfo.multiplechar = true;
     61  arg_ainfo.multiplevalue = false;
    5962  arg_ainfo.defaultstatus = cgiarginfo::none;
    6063  arg_ainfo.argdefault = g_EmptyText;
     
    6568  arg_ainfo.longname = "URL of external link";
    6669  arg_ainfo.multiplechar = true;
     70  arg_ainfo.multiplevalue = false;
    6771  arg_ainfo.defaultstatus = cgiarginfo::none;
    6872  arg_ainfo.argdefault = g_EmptyText;
     
    7377  arg_ainfo.longname = "is relative link";
    7478  arg_ainfo.multiplechar = false;
     79  arg_ainfo.multiplevalue = false;
    7580  arg_ainfo.defaultstatus = cgiarginfo::none;
    7681  arg_ainfo.argdefault = "0";
Note: See TracChangeset for help on using the changeset viewer.