Reply To: Trailing slashes & the rewrite @Join annotation

Splash Forums Rewrite Users Trailing slashes & the rewrite @Join annotation Reply To: Trailing slashes & the rewrite @Join annotation

#27408

There is a special rule for that:

https://github.com/ocpsoft/rewrite/blob/2697f91fa3ec60ffc9e8269fca794665b19f510f/config-servlet/src/main/java/org/ocpsoft/rewrite/servlet/config/rule/TrailingSlash.java

You should give it a try. I didn’t find any test case that shows how it is used, but it should be easy to get from the source.