Changeset 263 for trunk/gsdl/src/recpt/receptionist.cpp
- Timestamp:
- 1999-06-09T12:08:36+12:00 (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/recpt/receptionist.cpp
r261 r263 12 12 /* 13 13 $Log$ 14 Revision 1.14 1999/06/09 00:08:36 sjboddie 15 query string macro (_cgiargq_) is now made html safe before being set 16 14 17 Revision 1.13 1999/06/08 04:29:31 sjboddie 15 18 added argsinfo to the call to check_cgiargs to make it easy to set … … 71 74 #include "fileutil.h" 72 75 #include "cgiutils.h" 76 #include "htmlutils.h" 73 77 #include "OIDtools.h" 74 78 #include <assert.h> … … 633 637 cgiargsclass::const_iterator argsend = args.end(); 634 638 while (argshere != argsend) { 635 disp.setmacro ("cgiarg" + (*argshere).first, "Global", (*argshere).second); 639 if ((*argshere).first == "q") 640 // need to escape special characters from query string 641 disp.setmacro ("cgiargq", "Global", html_safe((*argshere).second)); 642 else 643 disp.setmacro ("cgiarg" + (*argshere).first, "Global", (*argshere).second); 636 644 argshere ++; 637 645 }
Note:
See TracChangeset
for help on using the changeset viewer.