Re: Path default add parameter to parameters

Splash Forums Rewrite Users Path default add parameter to parameters Re: Path default add parameter to parameters


Oh, sorry. I got a lot little lost there. Yes – this is the default behavior of Join. It’s important to be able to do this so that you can correctly map path parameters to query-parameters in the application itself. This behavior won’t be changing – however, what I could possibly do is add a method:


In fact, there is already a method called withRequestBinding that does nothing because it is always enabled by default anyway, so that’s worth fixing.

But… if you want to achieve this functionality now, you can combine the Path and Forward configurations:


I don’t really think this is a great idea, though, since you’ll be wanting to rewrite your outbound URLs as well. You would then need to figure out how to generate that URL. I don’t see what is wrong with adding the parameter, since otherwise Rewrite wouldn’t know how to generate the outbound URL either.

If this is really what you want, then that’s fine, but I’m not sure it is, which is why I am suggesting that you stick with Join :)