- changed status to open
ServletUtils.createHTTPRequest - NullPointerException
Issue #211
resolved
If an incoming HttpServletRequest does not provide its local address, ServletUtils.createHTTPRequest fails when calling reconstructRequestURLString(). At this point, request.getLocalAddr() is stored in a String on which String.contains(".") is invoked afterwards. It is not checked, whether getLocalAddr() returned null, leading to an NullPointerException if this is the case. The incoming request was a POST Token Request and no ServletFilters are active.
Comments (2)
-
-
- changed status to resolved
Fixed in commit 58fe79b, released as v5.24.1 to Maven Central.
- Log in to comment