Changeset 32362

Show
Ignore:
Timestamp:
23.08.2018 13:35:00 (11 months ago)
Author:
kjdon
Message:

when libraryservlet is adding params to the paramList of the request, for those that are not to be saved also check whether they are sensitive or not. if yes, set SENSITIVE att to true, receptionist can use this to determine whether to delete the params from the paramlist going back into the responsePage

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/src/java/org/greenstone/gsdl3/LibraryServlet.java

    r32342 r32362  
    705705                        param.setAttribute(GSXML.NAME_ATT, name); 
    706706                        param.setAttribute(GSXML.VALUE_ATT, GSXML.xmlSafe(value)); 
     707                        if (this.params.isSensitive(name)) { 
     708                          param.setAttribute(GSXML.SENSITIVE_ATT, "true"); 
     709                        } 
    707710                        xml_param_list.appendChild(param); 
     711                         
    708712                    } 
    709713                }