[sork] [Vacation] Password entry only allows 12chars

Eric Rostetter eric.rostetter at physics.utexas.edu
Fri Apr 25 00:16:50 PDT 2003


Quoting Adam Young <adam at vbfx.com>:

> 	When entering vacation reply, and it requires the password, I can only type
> the
> first 12 characters of my password, and when I submit the changes, it
> obviously
> rejects it with invalid password.

Yeah, 12 was randomly choosen and works for my site.  No real reason for
it other than that is the longest password allowed at my site.

> 	Should be a trivial patch to the html input tag for the password, but I am
> not
> familiar if it's limited at any other part of the code.

It should not be.
 
> 	Line 61: vacation/templates/main/main.inc
> 
> 	- <input type="password" name="oldpassword" size="12" maxlength="12">&nbsp;
> 	+ <input type="password" name="oldpassword" size="12" maxlength="32">&nbsp;
> 
> 	This may work as a temporary solution, but I don't think I'd guarantee it
> working if there are boundary checks later on in the code.

Looks good to me.  Changed in CVS (RELENG and HEAD).

> --
>     Adam Young	<adam_at_vbfx_dot_com>
>     http://www.vbfx.com/
>     GPG Key - ACE3F958
> 
> 


-- 
Eric Rostetter
The Department of Physics
The University of Texas at Austin

Why get even? Get odd!


More information about the sork mailing list