Reply To: Parameter that matches over slashes

Splash Forums Rewrite Users Parameter that matches over slashes Reply To: Parameter that matches over slashes

#25451

Sure, just configure the parameter like this:

.addRule()
.when( Direction.isInbound().and( Path.matches("/{whatever}.xml") ) )
.perform( Redirect.temporary( "/{whatever}.html" )
.where("whatever").matches(".*")