users@glassfish.java.net

Re: Url encoded forward slash causes blank server response

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Wed, 07 Oct 2009 12:20:38 -0400

Salut,

glassfish_at_javadesktop.org wrote:
> Were there any favorable responses on this?
>
> I had this working through apache as I was using modjk. But now switching to grizzly I cant seem to find an option to get this working. I stumbled across this https://grizzly.dev.java.net/apidocs/com/sun/grizzly/tcp/http11/GrizzlyAdapter.html#isAllowEncodedSlash%28%29 which kind of looks like is what I need. But I cant find any documentation that supports it. Tried setting the property in the http listner as allowEncodedSlash=true. But that was throwing out a 400. Any thoughts??
>
> Cheers
> -- Imran

You must pass the system property:

    -Dcom.sun.grizzly.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true

The blank page issue will be fixed one we integrate grizzly 1.9.18d.

Try and and let me know.


A+

-- Jeanfrancois


> [Message sent by forum member 'imranbohoran' (imranbohoran_at_gmail.com)]
>
> http://forums.java.net/jive/thread.jspa?messageID=367146
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>