Changeset 26560


Ignore:
Timestamp:
12/06/12 15:19:21 (8 years ago)
Author:
ak19
Message:

URL encoding forward-slash breaks subcollections, as subcollections are designated with forward slash. Not encoding forward slash anymore.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/runtime-src/src/recpt/cgiutils.cpp

    r26539 r26560  
    347347    else if (*in == '\"') out += "%22";
    348348    else if (*in == '\'') out += "%27";
    349     else if (*in == '/') out += "%2F";
     349    //else if (*in == '/') out += "%2F"; //unfortunately URL-encoding / breaks subcollections, as this uses /
    350350    else { // append whatever char is in *in, but as a char, not int
    351351            //out += *in; // appends as int
Note: See TracChangeset for help on using the changeset viewer.