Changeset 12400
- Timestamp:
- 2006-08-04T11:48:17+12:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/recpt/cgiwrapper.cpp
r11998 r12400 26 26 #include "gsdlconf.h" 27 27 #include "cgiwrapper.h" 28 #include "cgiutils.h" 28 29 #include "recptconfig.h" 29 30 #include "fileutil.h" … … 473 474 char *aURIStr; 474 475 if (!isfastcgi) { 475 476 476 477 477 // Iterate through the vector, and synthesis argstr … … 484 484 const char* name_cstr = iter->getName().c_str(); 485 485 const char* value_cstr = iter->getValue().c_str(); 486 // the args have been decoded and as we are building up the argument 487 // string again, we need to re encode them 488 text_t value_textt = cgi_safe(value_cstr); 489 const char * safe_value_cstr = value_textt.getcstr(); 486 490 if (first) { 487 488 491 argstr = name_cstr; 489 492 argstr.append("="); 490 argstr.append( value_cstr);493 argstr.append(safe_value_cstr); 491 494 first = false; 492 495 } … … 495 498 argstr.append(name_cstr); 496 499 argstr.append("="); 497 argstr.append( value_cstr);500 argstr.append(safe_value_cstr); 498 501 } 502 delete [] safe_value_cstr; 499 503 } 500 504 } 501 505 502 506 if (debug) { 503 507 cout << "Configuring Greenstone...\n";
Note:
See TracChangeset
for help on using the changeset viewer.