Changeset 4062


Ignore:
Timestamp:
2003-03-31T15:41:15+12:00 (21 years ago)
Author:
kjdon
Message:

had to remove ctrl-b and ctrl-c from mg text cos they are invalid xml characters, and soap was crapping out when they were present

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl3/src/java/org/greenstone/gsdl3/service/GS2MGRetrieve.java

    r4011 r4062  
    122122        long doc_num = gdbm_src_.oid2Docnum(doc_id);
    123123        String doc_content = mg_src_.getDocument(basedir, textdir, doc_num);
     124        // remove any ctrl-c or ctrl-b (I hope these are the right codes)
     125        doc_content = doc_content.replaceAll("\u0002|\u0003", "");
    124126        // replace _httpimg_ with the correct address
    125127        doc_content = resolveImages(doc_content, doc_id);
Note: See TracChangeset for help on using the changeset viewer.