xebia-france/xebia-servlet-extras — pull request #1 by mjvandel (2012-09-10 08:24:53+00:00)
Title: XForwardedFilter toAbsolute(null) patch

When a `response.sendRedirect(null)` is called the `toAbsolute` method recieves a `null` parameter. This results in a `NullPointerException`. I've added a unit test to reproduce this exception and fixed the implementation to return the current absolute path. I'm not sure if this is the most obvious solution but at least it is more obvious than a `NullPointerException` :-)

Kind regards,
- Marc van Andel