Writing scalable server applications in the Java™ programming language has always been difficult. Before the advent of the Java New I/O API (NIO), thread management issues made it impossible for a server to scale to thousands of users. The Grizzly NIO framework has been designed to help developers to take advantage of the Java™ NIO API.
StaticHttpHandler does not decode received URI before mapping it to a File name. This leads to a 404 when the underlying file contains a character that needs to be URL-encoded in its name.
I think that "org.glassfish.grizzly.http.server.StaticHttpHandler.handle(final String uri, final Request request, final Response response)" should decode "uri" first.
(was GRIZZLY-1922)
StaticHttpHandler does not decode received URI before mapping it to a File name. This leads to a 404 when the underlying file contains a character that needs to be URL-encoded in its name.
I think that "org.glassfish.grizzly.http.server.StaticHttpHandler.handle(final String uri, final Request request, final Response response)" should decode "uri" first.
Affected version: 2.3.23