Menu

#8 manageAdmins.jsp - blocks UID/PID longer than 8 characters

open
nobody
None
5
2014-08-23
2005-09-20
No

In manageAdmins.jsp, at line 61, the text field input
adminPID has a hardcoded maxlength of 8 characters.

An easy fix is editing the code to match your own
institutions UID length, for example:

<input type="text" name="adminPID" size="10"
maxlength="32">

Since valid PID length is checked by the regular
expression in web.xml for most of the rest of the
application, perhaps this maxlength parameter in the
JSP is not necessary?

Discussion


Log in to post a comment.