Reply To: How to append Trailing Slash to the requested URL

Splash Forums Rewrite Users How to append Trailing Slash to the requested URL Reply To: How to append Trailing Slash to the requested URL

#25022

Hmmm. I’m not sure if TrailingSlash and Joins play nice together in their current configuration.

What surprises me is:

I tried putting the / to the end to every Join.path but, the result is the same.

So you say the rewriting doesn’t work any more if you replace:

.addRule(Join.path("/web/home").to("/faces/portal/home.xhtml"))

With:

.addRule(Join.path("/web/home/").to("/faces/portal/home.xhtml"))

Or did I get something wrong here?