From: Sandy M. <san...@us...> - 2005-10-01 00:05:29
|
Update of /cvsroot/gatormail/GatorMail/src/java/edu/ufl/osg/webmail/actions In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv486/src/java/edu/ufl/osg/webmail/actions Modified Files: ActionsUtil.java Log Message: Correction for GLID, HttpSession mismatch check Index: ActionsUtil.java =================================================================== RCS file: /cvsroot/gatormail/GatorMail/src/java/edu/ufl/osg/webmail/actions/ActionsUtil.java,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** ActionsUtil.java 23 Sep 2005 17:03:42 -0000 1.12 --- ActionsUtil.java 30 Sep 2005 18:38:45 -0000 1.13 *************** *** 116,120 **** final String glid = (String)request.getAttribute("UF_GatorLinkID"); ! if (!user.getUsername().equals(glid)) { throw new InvalidSessionException("GLID and HttpSession mismatch."); } --- 116,120 ---- final String glid = (String)request.getAttribute("UF_GatorLinkID"); ! if (glid != null && !user.getUsername().equals(glid)) { throw new InvalidSessionException("GLID and HttpSession mismatch."); } |