Changeset 15196

Show
Ignore:
Timestamp:
17.04.2008 13:43:53 (11 years ago)
Author:
mdewsnip
Message:

Now calls html_safe() on the request attribute values, so it validates with the OAI validator. By DL Consulting Ltd.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/src/oaiservr/oaiaction.cpp

    r15192 r15196  
    255255      break; 
    256256    } 
    257     requestURL = "  <request " + here->first + "=\"" + here->second + "\""; 
     257    requestURL = "  <request " + here->first + "=\"" + html_safe(here->second) + "\""; 
    258258    ++here; 
    259259    while(here != end){ 
    260       requestURL += (" " + here->first + "=\"" + here->second + "\"");       
     260      requestURL += (" " + here->first + "=\"" + html_safe(here->second) + "\"");       
    261261      ++here; 
    262262    }