Re: OCPsoft Rewrite Rule no longer works after Update from 1.0.5 to 1.1.0

Splash Forums Rewrite Users OCPsoft Rewrite Rule no longer works after Update from 1.0.5 to 1.1.0 Re: OCPsoft Rewrite Rule no longer works after Update from 1.0.5 to 1.1.0

#23340

Ok, I figured it out. This makes sense but needs to be fixed. You can work around the issue by doing this instead. The NPE comes because the target resource location is not defined yet.

.addRule(
Join.path("/{i}/{d}").to("/resources/html/user/doSomething.html")
.where("i").matches("[-_a-zA-Z0-9~*]{8}")
.where("d").matches("[-_a-zA-Z0-9~*]{32}");
)