Changeset 474 for trunk/gsdl/src/recpt


Ignore:
Timestamp:
1999-08-26T10:27:13+12:00 (25 years ago)
Author:
sjboddie
Message:

prevented cgi_safe from converting '+' and '-'. It was causing problems
with query strings containing spaces. The space was being converted
to '+', then %2b, then %xx2b over time when saved in compressed args.
I hope this won't cause problems elsewhere...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/recpt/cgiutils.cpp

    r366 r474  
    1212/*
    1313   $Log$
     14   Revision 1.7  1999/08/25 22:27:13  sjboddie
     15   prevented cgi_safe from converting '+' and '-'. It was causing problems
     16   with query strings containing spaces. The space was being converted
     17   to '+', then %2b, then %xx2b over time when saved in compressed args.
     18   I hope this won't cause problems elsewhere...
     19
    1420   Revision 1.6  1999/07/11 01:05:19  rjmcnab
    1521   Stored origin of cgiarg with argument.
     
    138144    if (((c >= 'a') && (c <= 'z')) ||
    139145    ((c >= 'A') && (c <= 'Z')) ||
    140     ((c >= '0') && (c <= '9'))) {
     146    ((c >= '0') && (c <= '9')) ||
     147    (c == '-') || (c == '+')) {
    141148      // alphanumeric character
    142149      outtext.push_back(c);
Note: See TracChangeset for help on using the changeset viewer.