Changeset 26560 for main

Show
Ignore:
Timestamp:
06.12.2012 15:19:21 (7 years ago)
Author:
ak19
Message:

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

Files:
1 modified

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