[jcifs] Bug report?

Michael B Allen ioplex at gmail.com
Wed Apr 27 19:43:14 MDT 2011


On Tue, Apr 26, 2011 at 2:07 PM, J <javier.sedano at gmail.com> wrote:
> Hi,
>
>  I have found what I think to be a bug in
> NTLMPasswordAuthentication.NtlmPasswordAuthentication( String userInfo ) .
>
> If the user or password or domain contains the % character, it is interpreted by
> unscape() as a %XX hexadecimal code.

That method is not sophisticated about escaping URL encoded
characters. Use this constructor:

  NtlmPasswordAuthentication(String domain, String username, String password)

Mike

-- 
Michael B Allen
Java Active Directory Integration
http://www.ioplex.com/


More information about the jCIFS mailing list