[jcifs] Re: Null pointer exception in ServerMessageBlock.java

Levi Purvis jcifs at purvis.ws
Wed Jun 21 15:52:06 GMT 2006


Or just use java.net.URLEncoder...

http://java.sun.com/j2se/1.5.0/docs/api/java/net/URLEncoder.html

On 6/21/06, Ronny Schuetz <Usenet.8d3 at gishpuppy.com> wrote:
> * Jake Goulding wrote:
>
> Hi,
>
> > Obviously, this is not right... the question is where does this need to
> > be fixed? Do I need to make sure that the user/domain/password are
> > encoded before passing them off to JCIFS? Does JCIFS need to better
> > support this? Am I not "allowed" to have a hash in my password?
>
> Try to URL-encode the username and password before using them to build
> the URL. The jakarta commons codec library [1] offers the required
> functionality for example.
>
> [1] http://jakarta.apache.org/commons/codec/
>
> Ronny
>
>


More information about the jcifs mailing list