Changeset 614
- Timestamp:
- 1999-09-22T09:41:17+12:00 (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/recpt/cgiutils.cpp
r607 r614 28 28 /* 29 29 $Log$ 30 Revision 1.10 1999/09/21 21:41:17 sjboddie 31 fixed a couple of problems in what I committed last 32 30 33 Revision 1.9 1999/09/21 11:30:39 sjboddie 31 34 added ability to escape out '-' in saved args (currently … … 148 151 149 152 // convert %xx and + to their appropriate equivalents 150 if (key != "e")decode_cgi_arg (value);153 decode_cgi_arg (value); 151 154 152 155 value.setencoding(1); // other encoding … … 168 171 here ++; 169 172 } 173 outtext = cgi_safe (outtext); 170 174 return outtext; 171 175 } … … 184 188 ((c >= 'A') && (c <= 'Z')) || 185 189 ((c >= '0') && (c <= '9')) || 186 (c == '+') || (c == '%') ) {190 (c == '+') || (c == '%') || (c == '-')) { 187 191 // alphanumeric character 188 192 outtext.push_back(c); … … 209 213 text_t::const_iterator last, 210 214 text_t &argname) { 211 text_t::const_iterator sav = first;212 215 first = getdelimitstr (first, last, '-', argname); 213 216 return first;
Note:
See TracChangeset
for help on using the changeset viewer.