Reply To: The value of required parameter [page] was null.

Splash Forums Rewrite Users The value of required parameter [page] was null. Reply To: The value of required parameter [page] was null.

#26997

What I see wrong with the regex is this:


.matches("^[^\\/.\\s]*$");
          ^           ^

Because the regex is going to get compiled into a larger regular expression for the entire path, you can’t use start & end matches in the regex. You could either remove them (they aren’t necessary) To be honest I think you just want to use .* based on what I see your pattern does (matches / and anything any number of times).

Or you could remove the leading slash in your Join path:

.addRule(Join.path("{page}").to...
.matches("^[^\\/.\\s]*$");

That might work as well.