Reply To: encodeURL invokes Operations

Splash Forums Rewrite Users encodeURL invokes Operations Reply To: encodeURL invokes Operations

#24892

RedShadow
Participant

I guess I misunderstood the concept then. Regarding inbound requests it makes total sense to me that the serveFile is invoked.
Still I am trying to figure out how the outbound rewriting is supposed to work. Is it somewhere documented how that works?
Am I right that when using somehting like a Join, that it is just the reverse mapping.

For example if I have the rule:

.addRule(Join.path("/test/page").to("/test_page.xhtml"))

and call encodeURL("/test_page.xhtml") the result should be “/test/page” right?
Well and for me, everything beyound a Join Rule does not make sense to be outbound rewritten. Could you give me a use case?

PS: I am just about to update rewrite 🙂