Changeset 366 for trunk/gsdl/src
- Timestamp:
- 1999-07-11T13:05:20+12:00 (25 years ago)
- Location:
- trunk/gsdl/src/recpt
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/recpt/cgiutils.cpp
r294 r366 12 12 /* 13 13 $Log$ 14 Revision 1.6 1999/07/11 01:05:19 rjmcnab 15 Stored origin of cgiarg with argument. 16 14 17 Revision 1.5 1999/06/26 01:08:36 rjmcnab 15 18 Added encoding and decoding of multibyte compresesd arguments. … … 119 122 value.setencoding(1); // other encoding 120 123 // store this key=value pair 121 if (!key.empty()) args.setarg (key, value );124 if (!key.empty()) args.setarg (key, value, cgiarg_t::cgi_arg); 122 125 } 123 126 } … … 303 306 arg_ehere = getdelimitstr (arg_ehere, arg_eend, '-', argvalue); 304 307 argvalue.setencoding(1); // other encoding 305 if (!argvalue.empty()) args.setdefaultarg (argname, argvalue );308 if (!argvalue.empty()) args.setdefaultarg (argname, argvalue, cgiarg_t::compressed_arg); 306 309 } else { 307 args.setdefaultcarg (argname,*arg_ehere );310 args.setdefaultcarg (argname,*arg_ehere, cgiarg_t::compressed_arg); 308 311 arg_ehere++; 309 312 } … … 327 330 if ((*argsinfohere).second.defaultstatus != cgiarginfo::none) { 328 331 args.setdefaultarg ((*argsinfohere).second.shortname, 329 (*argsinfohere).second.argdefault );332 (*argsinfohere).second.argdefault, cgiarg_t::default_arg); 330 333 } 331 334 argsinfohere++; … … 414 417 415 418 while (here != end) { 416 if ((*here).second. getencoding() > 0) {417 (*here).second = inconvert.convert((*here).second);419 if ((*here).second.value.getencoding() > 0) { 420 (*here).second.value = inconvert.convert((*here).second.value); 418 421 } 419 422 -
trunk/gsdl/src/recpt/receptionist.cpp
r362 r366 12 12 /* 13 13 $Log$ 14 Revision 1.18 1999/07/11 01:05:20 rjmcnab 15 Stored origin of cgiarg with argument. 16 14 17 Revision 1.17 1999/07/10 22:18:26 rjmcnab 15 18 Added calls to define_external_cgiargs. … … 681 684 if ((*argshere).first == "q") 682 685 // need to escape special characters from query string 683 disp.setmacro ("cgiargq", "Global", html_safe((*argshere).second ));686 disp.setmacro ("cgiargq", "Global", html_safe((*argshere).second.value)); 684 687 else 685 disp.setmacro ("cgiarg" + (*argshere).first, "Global", (*argshere).second );688 disp.setmacro ("cgiarg" + (*argshere).first, "Global", (*argshere).second.value); 686 689 argshere ++; 687 690 }
Note:
See TracChangeset
for help on using the changeset viewer.