https://issues.jboss.org/browse/RAILO-2625

Opening new pull request because pull 258 looks like it was closed in error.