Changeset 32362 for main


Ignore:
Timestamp:
2018-08-23T13:35:00+12:00 (3 years 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

File:
1 edited

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                }
Note: See TracChangeset for help on using the changeset viewer.