Changeset 25310


Ignore:
Timestamp:
03/28/12 16:59:17 (9 years ago)
Author:
sjm84
Message:

Some minor formatting changes

File:
1 edited

Legend:

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

    r25304 r25310  
    699699            }
    700700        }
    701        
     701
    702702        String requestedURL = request.getRequestURL().toString();
    703703        String baseURL = requestedURL.substring(0, requestedURL.indexOf(this.getServletName()));
    704704        xml_request.setAttribute("baseURL", baseURL);
    705705        xml_request.setAttribute("remoteAddress", request.getRemoteAddr());
    706        
    707         if(!runSecurityChecks(request, xml_request, userContext, out, baseURL, collection, document))
     706
     707        if (!runSecurityChecks(request, xml_request, userContext, out, baseURL, collection, document))
    708708        {
    709709            return;
     
    733733        if (username != null && password != null)
    734734        {
     735            //We are changing to another user, so log out first
    735736            if (request.getAuthType() != null)
    736737            {
     
    765766                urlParam.setAttribute(GSXML.NAME_ATT, "redirectURL");
    766767                String queryString = "";
    767                 if(request.getQueryString() != null)
     768                if (request.getQueryString() != null)
    768769                {
    769770                    queryString = "?" + request.getQueryString().replace("&", "&");
     
    881882        return true;
    882883    }
    883    
     884
    884885    //a debugging method
    885886    private void displaySize(Hashtable table)
Note: See TracChangeset for help on using the changeset viewer.