ari-ban / issue-test

0 stars 0 forks source link

StaticHttpHandler does not decode URI before mapping it to a File #1932

Closed arinban closed 7 years ago

arinban commented 7 years ago

(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

arinban commented 6 years ago