Reply To: Redirect instead of Forward

Splash Forums Rewrite Users Redirect instead of Forward Reply To: Redirect instead of Forward

#25331

defuchs
Participant

Thx, but this version is not adding the parameters as Query-Params:

ConfigurationRuleBuilderPerform rule = config.addRule()
    .when(Direction.isInbound().and(Path.matches("/{key}")))
    .perform(Redirect.temporary("/foo.html"))
    .where("key").matches("[a-z0-9]{8}")

from “/asdfasdf” this redirects me to “/foo.html” instead of “/foo.html?key=asdfasdf”

any idea?